/// <summary> /// Deprecated Method for adding a new object to the ActionCodes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToActionCodes(ActionCode actionCode) { base.AddObject("ActionCodes", actionCode); }
/// <summary> /// Create a new ActionCode object. /// </summary> /// <param name="code">Initial value of the Code property.</param> /// <param name="description">Initial value of the Description property.</param> public static ActionCode CreateActionCode(global::System.String code, global::System.String description) { ActionCode actionCode = new ActionCode(); actionCode.Code = code; actionCode.Description = description; return actionCode; }