/// <summary> /// Deprecated Method for adding a new object to the TreetyArticleMetadatas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTreetyArticleMetadatas(TreetyArticleMetadata treetyArticleMetadata) { base.AddObject("TreetyArticleMetadatas", treetyArticleMetadata); }
/// <summary> /// Create a new TreetyArticleMetadata object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="treetyMetadataId">Initial value of the TreetyMetadataId property.</param> public static TreetyArticleMetadata CreateTreetyArticleMetadata(global::System.Int32 id, global::System.Int32 treetyMetadataId) { TreetyArticleMetadata treetyArticleMetadata = new TreetyArticleMetadata(); treetyArticleMetadata.Id = id; treetyArticleMetadata.TreetyMetadataId = treetyMetadataId; return treetyArticleMetadata; }