/// <summary> /// Deprecated Method for adding a new object to the Adresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdresses(Adress adress) { base.AddObject("Adresses", adress); }
/// <summary> /// Create a new Adress object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> /// <param name="isDefault">Initial value of the IsDefault property.</param> /// <param name="validFrom">Initial value of the ValidFrom property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> /// <param name="mdaCountryID">Initial value of the MdaCountryID property.</param> /// <param name="personID">Initial value of the PersonID property.</param> public static Adress CreateAdress(global::System.Int32 id, global::System.Guid guid, global::System.String createdBy, global::System.DateTime createdAt, global::System.Boolean isDefault, global::System.DateTime validFrom, global::System.Byte[] timestamp, global::System.Int32 mdaCountryID, global::System.Int32 personID) { Adress adress = new Adress(); adress.ID = id; adress.Guid = guid; adress.CreatedBy = createdBy; adress.CreatedAt = createdAt; adress.IsDefault = isDefault; adress.ValidFrom = validFrom; adress.Timestamp = timestamp; adress.MdaCountryID = mdaCountryID; adress.PersonID = personID; return adress; }