small syntax change to align with other uses of gdsdb.

This commit is contained in:
Erich Barnstedt
2016-08-04 15:18:27 +02:00
parent f85f88d3b2
commit ad38fd38b7
@@ -122,8 +122,8 @@ namespace Opc.Ua.GdsServer
applicationId = (Guid)application.ApplicationId.Identifier;
}
using (Opc.Ua.Gds.gdsdbEntities entities = new Opc.Ua.Gds.gdsdbEntities())
{
Opc.Ua.Gds.gdsdbEntities entities = new Opc.Ua.Gds.gdsdbEntities();
Application record = null;
if (applicationId != Guid.Empty)
@@ -146,8 +146,8 @@ namespace Opc.Ua.GdsServer
}
var names = from ii in entities.ApplicationNames
where ii.ApplicationId == record.ID
select ii;
where ii.ApplicationId == record.ID
select ii;
foreach (var name in names)
{