示例#1
0
 /// <summary>
 /// Create a new address object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="dateUpdated">Initial value of the DateUpdated property.</param>
 public static address Createaddress(global::System.Int32 id, global::System.DateTime dateCreated, global::System.DateTime dateUpdated)
 {
     address address = new address();
     address.Id = id;
     address.DateCreated = dateCreated;
     address.DateUpdated = dateUpdated;
     return address;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the address EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaddress(address address)
 {
     base.AddObject("address", address);
 }