Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DContentCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDContentCategories(DContentCategory dContentCategory)
 {
     base.AddObject("DContentCategories", dContentCategory);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new DContentCategory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 public static DContentCategory CreateDContentCategory(global::System.Guid id, global::System.String name, global::System.String title)
 {
     DContentCategory dContentCategory = new DContentCategory();
     dContentCategory.Id = id;
     dContentCategory.Name = name;
     dContentCategory.Title = title;
     return dContentCategory;
 }