Ejemplo n.º 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
     });
 }
Ejemplo n.º 2
0
 public static void AddBatch(this IAcDomain acDomain, IAcSession acSession, IBatchCreateIo input)
 {
     acDomain.Handle(new AddBatchCommand(acSession, input));
 }
Ejemplo n.º 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
     };
 }
Ejemplo n.º 4
0
 public static void AddBatch(this IAcDomain acDomain, IAcSession acSession, IBatchCreateIo input)
 {
     acDomain.Handle(new AddBatchCommand(acSession, input));
 }