/// <summary> /// Deprecated Method for adding a new object to the Draft EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDraft(Draft draft) { base.AddObject("Draft", draft); }
/// <summary> /// Create a new Draft object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="content">Initial value of the content property.</param> /// <param name="creation_date">Initial value of the creation_date property.</param> public static Draft CreateDraft(global::System.Int64 id, global::System.String content, global::System.DateTimeOffset creation_date) { Draft draft = new Draft(); draft.id = id; draft.content = content; draft.creation_date = creation_date; return draft; }