/// <summary> /// Create a new vendor object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="publish">Initial value of the publish property.</param> public static vendor Createvendor(global::System.Int32 id, global::System.Boolean publish) { vendor vendor = new vendor(); vendor.id = id; vendor.publish = publish; return vendor; }
/// <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(vendor vendor) { base.AddObject("vendors", vendor); }