Example #1
0
 /// <summary>
 /// Create a new RetailerType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="default">Initial value of the Default property.</param>
 /// <param name="iDDivision">Initial value of the IDDivision property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static RetailerType CreateRetailerType(global::System.Guid id, global::System.String name, global::System.Boolean @default, global::System.Guid iDDivision, global::System.Boolean deleted)
 {
     RetailerType retailerType = new RetailerType();
     retailerType.ID = id;
     retailerType.Name = name;
     retailerType.Default = @default;
     retailerType.IDDivision = iDDivision;
     retailerType.Deleted = deleted;
     return retailerType;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RetailerType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRetailerType(RetailerType retailerType)
 {
     base.AddObject("RetailerType", retailerType);
 }