/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the LRSCategory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLRSCategory(LRSCategory lRSCategory) { base.AddObject("LRSCategory", lRSCategory); }