Example #1
0
 public static Batch Create(IBatchCreateIo input)
 {
     Debug.Assert(input.Id != null, "input.Id != null");
     return(new Batch(input.Id.Value)
     {
         IncludeDescendants = input.IncludeDescendants,
         NodeId = input.NodeId,
         OntologyId = input.OntologyId,
         CatalogCode = input.CatalogCode,
         Title = input.Title,
         Total = 0,
         Type = input.Type,
         Description = input.Description
     });
 }
Example #2
0
 public static void AddBatch(this IAcDomain acDomain, IAcSession acSession, IBatchCreateIo input)
 {
     acDomain.Handle(new AddBatchCommand(acSession, input));
 }
Example #3
0
 public static Batch Create(IBatchCreateIo input)
 {
     Debug.Assert(input.Id != null, "input.Id != null");
     return new Batch
     {
         Id = input.Id.Value,
         IncludeDescendants = input.IncludeDescendants,
         NodeId = input.NodeId,
         OntologyId = input.OntologyId,
         CatalogCode = input.CatalogCode,
         Title = input.Title,
         Total = 0,
         Type = input.Type,
         Description = input.Description
     };
 }
 public static void AddBatch(this IAcDomain acDomain, IAcSession acSession, IBatchCreateIo input)
 {
     acDomain.Handle(new AddBatchCommand(acSession, input));
 }