Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Addresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAddresses(Address address)
 {
     base.AddObject("Addresses", address);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="localName">Initial value of the LocalName property.</param>
 /// <param name="addressLine1">Initial value of the AddressLine1 property.</param>
 /// <param name="addressLine2">Initial value of the AddressLine2 property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="stateOrProvince">Initial value of the StateOrProvince property.</param>
 /// <param name="zIPOrPostalCode">Initial value of the ZIPOrPostalCode property.</param>
 /// <param name="createBy">Initial value of the CreateBy property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 /// <param name="createOffice">Initial value of the CreateOffice property.</param>
 /// <param name="modifyBy">Initial value of the ModifyBy property.</param>
 /// <param name="modifyTime">Initial value of the ModifyTime property.</param>
 /// <param name="modifyOffice">Initial value of the ModifyOffice property.</param>
 /// <param name="defendant_Address">Initial value of the Defendant_Address property.</param>
 public static Address CreateAddress(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String localName, global::System.String addressLine1, global::System.String addressLine2, global::System.String city, global::System.String stateOrProvince, global::System.String zIPOrPostalCode, global::System.String createBy, global::System.DateTime createTime, global::System.String createOffice, global::System.String modifyBy, global::System.DateTime modifyTime, global::System.String modifyOffice, global::System.Int32 defendant_Address)
 {
     Address address = new Address();
     address.Id = id;
     address.RowVersion = rowVersion;
     address.LocalName = localName;
     address.AddressLine1 = addressLine1;
     address.AddressLine2 = addressLine2;
     address.City = city;
     address.StateOrProvince = stateOrProvince;
     address.ZIPOrPostalCode = zIPOrPostalCode;
     address.CreateBy = createBy;
     address.CreateTime = createTime;
     address.CreateOffice = createOffice;
     address.ModifyBy = modifyBy;
     address.ModifyTime = modifyTime;
     address.ModifyOffice = modifyOffice;
     address.Defendant_Address = defendant_Address;
     return address;
 }