/// <summary> /// Deprecated Method for adding a new object to the Suppliers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSuppliers(Supplier supplier) { base.AddObject("Suppliers", supplier); }
/// <summary> /// Create a new Supplier object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static Supplier CreateSupplier(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String name, global::System.DateTime createDate) { Supplier supplier = new Supplier(); supplier.Id = id; supplier.RowVersion = rowVersion; supplier.Name = name; supplier.CreateDate = createDate; return supplier; }