コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Vendors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVendors(Vendors vendors)
 {
     base.AddObject("Vendors", vendors);
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Vendors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVendors(Vendors vendors)
 {
     base.AddObject("Vendors", vendors);
 }