/// <summary> /// Create a new OrderRight object. /// </summary> /// <param name="ruleId">Initial value of the RuleId property.</param> /// <param name="categoryType">Initial value of the CategoryType property.</param> /// <param name="roleType">Initial value of the RoleType property.</param> public static OrderRight CreateOrderRight(global::System.Int32 ruleId, global::System.Int32 categoryType, global::System.Int32 roleType) { OrderRight orderRight = new OrderRight(); orderRight.RuleId = ruleId; orderRight.CategoryType = categoryType; orderRight.RoleType = roleType; return orderRight; }
/// <summary> /// Deprecated Method for adding a new object to the OrderRights EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderRights(OrderRight orderRight) { base.AddObject("OrderRights", orderRight); }