/// <summary> /// Create a new Vendors object. /// </summary> /// <param name="vendorId">Initial value of the VendorId property.</param> /// <param name="vendorName">Initial value of the VendorName property.</param> /// <param name="authorized">Initial value of the Authorized property.</param> public static Vendors CreateVendors(global::System.Int32 vendorId, global::System.String vendorName, global::System.Boolean authorized) { Vendors vendors = new Vendors(); vendors.VendorId = vendorId; vendors.VendorName = vendorName; vendors.Authorized = authorized; return vendors; }
/// <summary> /// Deprecated Method for adding a new object to the Vendors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVendors(Vendors vendors) { base.AddObject("Vendors", vendors); }