/// <summary> /// Deprecated Method for adding a new object to the inventory_user_profile EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinventory_user_profile(inventory_user_profile inventory_user_profile) { base.AddObject("inventory_user_profile", inventory_user_profile); }
/// <summary> /// Create a new inventory_user_profile object. /// </summary> /// <param name="pro_id">Initial value of the pro_id property.</param> /// <param name="gender">Initial value of the gender property.</param> /// <param name="dob">Initial value of the dob property.</param> public static inventory_user_profile Createinventory_user_profile(global::System.Int32 pro_id, global::System.String gender, global::System.DateTime dob) { inventory_user_profile inventory_user_profile = new inventory_user_profile(); inventory_user_profile.pro_id = pro_id; inventory_user_profile.gender = gender; inventory_user_profile.dob = dob; return inventory_user_profile; }