Ejemplo n.º 1
0
 /// <summary>
 /// Create a new tblAddress object.
 /// </summary>
 /// <param name="idAddress">Initial value of the idAddress property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="dateCreated">Initial value of the dateCreated property.</param>
 /// <param name="dateModified">Initial value of the dateModified property.</param>
 /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblAddress CreatetblAddress(global::System.Int32 idAddress, global::System.String city, global::System.String state, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblAddress tblAddress = new tblAddress();
     tblAddress.idAddress = idAddress;
     tblAddress.City = city;
     tblAddress.State = state;
     tblAddress.dateCreated = dateCreated;
     tblAddress.dateModified = dateModified;
     tblAddress.CreatedByLogin = createdByLogin;
     tblAddress.ModifiedByLogin = modifiedByLogin;
     return tblAddress;
 }
Ejemplo n.º 2
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);
 }