示例#1
0
 /// <summary>
 /// Create a new addresstype object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static addresstype Createaddresstype(global::System.Int32 id, global::System.String name, global::System.Boolean isActive)
 {
     addresstype addresstype = new addresstype();
     addresstype.Id = id;
     addresstype.Name = name;
     addresstype.IsActive = isActive;
     return addresstype;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the addresstypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaddresstypes(addresstype addresstype)
 {
     base.AddObject("addresstypes", addresstype);
 }