コード例 #1
0
ファイル: LorealDb.Designer.cs プロジェクト: ddksaku/loreal
 /// <summary>
 /// Deprecated Method for adding a new object to the Customer EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomer(Customer customer)
 {
     base.AddObject("Customer", customer);
 }
コード例 #2
0
ファイル: LorealDb.Designer.cs プロジェクト: ddksaku/loreal
 /// <summary>
 /// Create a new Customer object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDSalesEmployee">Initial value of the IDSalesEmployee property.</param>
 /// <param name="iDCustomerGroup">Initial value of the IDCustomerGroup property.</param>
 /// <param name="accountNumber">Initial value of the AccountNumber property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="includeInSystem">Initial value of the IncludeInSystem property.</param>
 /// <param name="manual">Initial value of the Manual property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="totalSales">Initial value of the TotalSales property.</param>
 public static Customer CreateCustomer(global::System.Guid id, global::System.Guid iDSalesEmployee, global::System.Guid iDCustomerGroup, global::System.String accountNumber, global::System.String name, global::System.Boolean includeInSystem, global::System.Boolean manual, global::System.Boolean deleted, global::System.Double totalSales)
 {
     Customer customer = new Customer();
     customer.ID = id;
     customer.IDSalesEmployee = iDSalesEmployee;
     customer.IDCustomerGroup = iDCustomerGroup;
     customer.AccountNumber = accountNumber;
     customer.Name = name;
     customer.IncludeInSystem = includeInSystem;
     customer.Manual = manual;
     customer.Deleted = deleted;
     customer.TotalSales = totalSales;
     return customer;
 }