/// <summary> /// Create a new vendor_type object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="publish">Initial value of the publish property.</param> public static vendor_type Createvendor_type(global::System.Int32 id, global::System.String name, global::System.Boolean publish) { vendor_type vendor_type = new vendor_type(); vendor_type.id = id; vendor_type.name = name; vendor_type.publish = publish; return vendor_type; }
/// <summary> /// Deprecated Method for adding a new object to the vendor_type EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovendor_type(vendor_type vendor_type) { base.AddObject("vendor_type", vendor_type); }