상속: System.Data.Objects.DataClasses.EntityObject
예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerTypes(CustomerType customerType)
 {
     base.AddObject("CustomerTypes", customerType);
 }
예제 #2
0
 /// <summary>
 /// Create a new CustomerType object.
 /// </summary>
 /// <param name="customerTypeKey">Initial value of the CustomerTypeKey property.</param>
 /// <param name="customerType1">Initial value of the CustomerType1 property.</param>
 public static CustomerType CreateCustomerType(global::System.String customerTypeKey, global::System.String customerType1)
 {
     CustomerType customerType = new CustomerType();
     customerType.CustomerTypeKey = customerTypeKey;
     customerType.CustomerType1 = customerType1;
     return customerType;
 }