Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Gender EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGender(Gender gender)
 {
     base.AddObject("Gender", gender);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Gender object.
 /// </summary>
 /// <param name="genderID">Initial value of the GenderID property.</param>
 /// <param name="gender1">Initial value of the Gender1 property.</param>
 public static Gender CreateGender(global::System.Int32 genderID, global::System.String gender1)
 {
     Gender gender = new Gender();
     gender.GenderID = genderID;
     gender.Gender1 = gender1;
     return gender;
 }