/// <summary> /// Deprecated Method for adding a new object to the OperatorInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOperatorInfoes(OperatorInfo operatorInfo) { base.AddObject("OperatorInfoes", operatorInfo); }
/// <summary> /// Create a new OperatorInfo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="createBy">Initial value of the CreateBy property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="createOffice">Initial value of the CreateOffice property.</param> /// <param name="modifyBy">Initial value of the ModifyBy property.</param> /// <param name="modifyTime">Initial value of the ModifyTime property.</param> /// <param name="modifyOffice">Initial value of the ModifyOffice property.</param> /// <param name="workSheet_OperatorInfo">Initial value of the WorkSheet_OperatorInfo property.</param> public static OperatorInfo CreateOperatorInfo(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String createBy, global::System.DateTime createTime, global::System.String createOffice, global::System.String modifyBy, global::System.DateTime modifyTime, global::System.String modifyOffice, global::System.Int32 workSheet_OperatorInfo) { OperatorInfo operatorInfo = new OperatorInfo(); operatorInfo.Id = id; operatorInfo.RowVersion = rowVersion; operatorInfo.CreateBy = createBy; operatorInfo.CreateTime = createTime; operatorInfo.CreateOffice = createOffice; operatorInfo.ModifyBy = modifyBy; operatorInfo.ModifyTime = modifyTime; operatorInfo.ModifyOffice = modifyOffice; operatorInfo.WorkSheet_OperatorInfo = workSheet_OperatorInfo; return operatorInfo; }