/// <summary> /// Deprecated Method for adding a new object to the Ecards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEcards(Ecards ecards) { base.AddObject("Ecards", ecards); }
/// <summary> /// Create a new Ecards object. /// </summary> /// <param name="ec_id">Initial value of the ec_id property.</param> /// <param name="ect_id">Initial value of the ect_id property.</param> /// <param name="ec_from_username">Initial value of the ec_from_username property.</param> /// <param name="ec_to_username">Initial value of the ec_to_username property.</param> /// <param name="ec_date">Initial value of the ec_date property.</param> /// <param name="ec_message">Initial value of the ec_message property.</param> /// <param name="ec_deleted_by_fromuser">Initial value of the ec_deleted_by_fromuser property.</param> /// <param name="ec_deleted_by_touser">Initial value of the ec_deleted_by_touser property.</param> /// <param name="ec_is_opened">Initial value of the ec_is_opened property.</param> public static Ecards CreateEcards(global::System.Int32 ec_id, global::System.Int32 ect_id, global::System.String ec_from_username, global::System.String ec_to_username, global::System.DateTime ec_date, global::System.String ec_message, global::System.Boolean ec_deleted_by_fromuser, global::System.Boolean ec_deleted_by_touser, global::System.Boolean ec_is_opened) { Ecards ecards = new Ecards(); ecards.ec_id = ec_id; ecards.ect_id = ect_id; ecards.ec_from_username = ec_from_username; ecards.ec_to_username = ec_to_username; ecards.ec_date = ec_date; ecards.ec_message = ec_message; ecards.ec_deleted_by_fromuser = ec_deleted_by_fromuser; ecards.ec_deleted_by_touser = ec_deleted_by_touser; ecards.ec_is_opened = ec_is_opened; return ecards; }