Пример #1
0
 /// <summary>
 /// Create a new Division object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="allocateByBrand">Initial value of the AllocateByBrand property.</param>
 /// <param name="allocateByAxe">Initial value of the AllocateByAxe property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static Division CreateDivision(global::System.Guid id, global::System.String name, global::System.String code, global::System.Boolean allocateByBrand, global::System.Boolean allocateByAxe, global::System.Boolean deleted)
 {
     Division division = new Division();
     division.ID = id;
     division.Name = name;
     division.Code = code;
     division.AllocateByBrand = allocateByBrand;
     division.AllocateByAxe = allocateByAxe;
     division.Deleted = deleted;
     return division;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Division EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDivision(Division division)
 {
     base.AddObject("Division", division);
 }