/// <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="idSupplier">Initial value of the idSupplier property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="insDateTime">Initial value of the InsDateTime property.</param> /// <param name="updDateTime">Initial value of the UpdDateTime property.</param> public static Supplier CreateSupplier(global::System.Int32 idSupplier, global::System.Boolean active, global::System.DateTimeOffset insDateTime, global::System.DateTimeOffset updDateTime) { Supplier supplier = new Supplier(); supplier.idSupplier = idSupplier; supplier.Active = active; supplier.InsDateTime = insDateTime; supplier.UpdDateTime = updDateTime; return supplier; }