Exemplo n.º 1
0
 /// <summary>
 /// Create a new LRSCategory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="categoryTypeId">Initial value of the CategoryTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static LRSCategory CreateLRSCategory(global::System.Int32 id, global::System.Int32 categoryTypeId, global::System.String name)
 {
     LRSCategory lRSCategory = new LRSCategory();
     lRSCategory.Id = id;
     lRSCategory.CategoryTypeId = categoryTypeId;
     lRSCategory.Name = name;
     return lRSCategory;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LRSCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLRSCategories(LRSCategory lRSCategory)
 {
     base.AddObject("LRSCategories", lRSCategory);
 }