Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the sexes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosexes(sex sex)
 {
     base.AddObject("sexes", sex);
 }
Пример #2
0
 /// <summary>
 /// Create a new sex object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static sex Createsex(global::System.Int32 id, global::System.String description)
 {
     sex sex = new sex();
     sex.Id = id;
     sex.Description = description;
     return sex;
 }