示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the inventory_individual EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToinventory_individual(inventory_individual inventory_individual)
 {
     base.AddObject("inventory_individual", inventory_individual);
 }
示例#2
0
 /// <summary>
 /// Create a new inventory_individual object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="address">Initial value of the address property.</param>
 /// <param name="telephone">Initial value of the telephone property.</param>
 /// <param name="email">Initial value of the email property.</param>
 /// <param name="is_author">Initial value of the is_author property.</param>
 /// <param name="is_photographer">Initial value of the is_photographer property.</param>
 /// <param name="is_illustrator">Initial value of the is_illustrator property.</param>
 /// <param name="is_translator">Initial value of the is_translator property.</param>
 /// <param name="active">Initial value of the active property.</param>
 /// <param name="sex">Initial value of the sex property.</param>
 public static inventory_individual Createinventory_individual(global::System.Int32 id, global::System.String name, global::System.String address, global::System.String telephone, global::System.String email, global::System.Boolean is_author, global::System.Boolean is_photographer, global::System.Boolean is_illustrator, global::System.Boolean is_translator, global::System.Boolean active, global::System.String sex)
 {
     inventory_individual inventory_individual = new inventory_individual();
     inventory_individual.id = id;
     inventory_individual.name = name;
     inventory_individual.address = address;
     inventory_individual.telephone = telephone;
     inventory_individual.email = email;
     inventory_individual.is_author = is_author;
     inventory_individual.is_photographer = is_photographer;
     inventory_individual.is_illustrator = is_illustrator;
     inventory_individual.is_translator = is_translator;
     inventory_individual.active = active;
     inventory_individual.sex = sex;
     return inventory_individual;
 }