Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblAddresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblAddresses(tblAddress tblAddress)
 {
     base.AddObject("tblAddresses", tblAddress);
 }
Пример #2
0
 /// <summary>
 /// Create a new tblAddress object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="houseNo">Initial value of the HouseNo property.</param>
 /// <param name="locality">Initial value of the Locality property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="district">Initial value of the District property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 public static tblAddress CreatetblAddress(global::System.Int32 id, global::System.String houseNo, global::System.String locality, global::System.String city, global::System.String district, global::System.String state, global::System.DateTime createdDate, global::System.String createdBy)
 {
     tblAddress tblAddress = new tblAddress();
     tblAddress.ID = id;
     tblAddress.HouseNo = houseNo;
     tblAddress.Locality = locality;
     tblAddress.City = city;
     tblAddress.District = district;
     tblAddress.State = state;
     tblAddress.CreatedDate = createdDate;
     tblAddress.CreatedBy = createdBy;
     return tblAddress;
 }