/// <summary> /// Deprecated Method for adding a new object to the CanvasSheets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCanvasSheets(CanvasSheet canvasSheet) { base.AddObject("CanvasSheets", canvasSheet); }
/// <summary> /// Create a new CanvasSheet object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="csNumber">Initial value of the CsNumber property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="is_approved">Initial value of the is_approved property.</param> /// <param name="requestId">Initial value of the RequestId property.</param> public static CanvasSheet CreateCanvasSheet(global::System.Guid id, global::System.Int32 csNumber, global::System.DateTime dateCreated, global::System.Boolean is_approved, global::System.Guid requestId) { CanvasSheet canvasSheet = new CanvasSheet(); canvasSheet.Id = id; canvasSheet.CsNumber = csNumber; canvasSheet.DateCreated = dateCreated; canvasSheet.is_approved = is_approved; canvasSheet.RequestId = requestId; return canvasSheet; }