Beispiel #1
0
 private void AddPrimitives()
 {
     foreach (var entry in PrimitiveTypes)
     {
         _odcmModel.AddType(new OdcmPrimitiveType(entry[1], OdcmNamespace.GetWellKnownNamespace(entry[0])));
     }
 }
Beispiel #2
0
 private void AddPrimitives()
 {
     foreach (var entry in PrimitiveTypes)
     {
         try
         {
             _odcmModel.AddType(new OdcmPrimitiveType(entry[1], OdcmNamespace.GetWellKnownNamespace(entry[0])));
         }
         catch (Exception e)
         {
             Logger.Error(e, e.Message);
         }
     }
 }