Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Instructors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInstructors(AbilitiesUnitedInstructor abilitiesUnitedInstructor)
 {
     base.AddObject("Instructors", abilitiesUnitedInstructor);
 }
Пример #2
0
 /// <summary>
 /// Create a new AbilitiesUnitedInstructor object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="createdTime">Initial value of the CreatedTime property.</param>
 /// <param name="updatedTime">Initial value of the UpdatedTime property.</param>
 /// <param name="updatedBy">Initial value of the UpdatedBy property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static AbilitiesUnitedInstructor CreateAbilitiesUnitedInstructor(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.DateTime createdTime, global::System.DateTime updatedTime, global::System.String updatedBy, global::System.Byte[] rowVersion)
 {
     AbilitiesUnitedInstructor abilitiesUnitedInstructor = new AbilitiesUnitedInstructor();
     abilitiesUnitedInstructor.Id = id;
     abilitiesUnitedInstructor.FirstName = firstName;
     abilitiesUnitedInstructor.LastName = lastName;
     abilitiesUnitedInstructor.CreatedTime = createdTime;
     abilitiesUnitedInstructor.UpdatedTime = updatedTime;
     abilitiesUnitedInstructor.UpdatedBy = updatedBy;
     abilitiesUnitedInstructor.RowVersion = rowVersion;
     return abilitiesUnitedInstructor;
 }