Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonTypes(PersonTypes personTypes)
 {
     base.AddObject("PersonTypes", personTypes);
 }
Пример #2
0
 /// <summary>
 /// Create a new PersonTypes object.
 /// </summary>
 /// <param name="personTypeID">Initial value of the PersonTypeID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static PersonTypes CreatePersonTypes(global::System.Int32 personTypeID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     PersonTypes personTypes = new PersonTypes();
     personTypes.PersonTypeID = personTypeID;
     personTypes.AddDate = addDate;
     personTypes.RowVersion = rowVersion;
     return personTypes;
 }