/// <summary> /// Create a new OperationType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> public static OperationType CreateOperationType(global::System.Int32 id, global::System.String description) { OperationType operationType = new OperationType(); operationType.Id = id; operationType.Description = description; return operationType; }
/// <summary> /// Deprecated Method for adding a new object to the OperationType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOperationType(OperationType operationType) { base.AddObject("OperationType", operationType); }