示例#1
0
        /// <summary>
        /// Create a new EditorChoiceItem object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="realtionItemId">Initial value of the RealtionItemId property.</param>
        /// <param name="editorId">Initial value of the EditorId property.</param>
        public static EditorChoiceItem CreateEditorChoiceItem(global::System.Int32 id, global::System.Int32 realtionItemId, global::System.Int32 editorId)
        {
            EditorChoiceItem editorChoiceItem = new EditorChoiceItem();

            editorChoiceItem.Id             = id;
            editorChoiceItem.RealtionItemId = realtionItemId;
            editorChoiceItem.EditorId       = editorId;
            return(editorChoiceItem);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_EditorChoiceItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_EditorChoiceItems(EditorChoiceItem editorChoiceItem)
 {
     base.AddObject("tbl_EditorChoiceItems", editorChoiceItem);
 }