public FareDto(Fare fare) { _FareId = fare.ID; _RoutesID = fare.RoutesID; _StartDate = fare.StartDate; _EndDate = fare.EndDate; }
// Update is called once per frame void Update() { bool usePressed = Input.GetKey(KeyCode.E); if (usePressed) { if (rayTracingHitSomething()) { if (_startTime == null) { _startTime = System.DateTime.Now; showAnimation(); } else if (System.DateTime.Now.Subtract(((System.DateTime)_startTime).AddSeconds(TimeInterval)) > new System.TimeSpan(0,0,0)) { _startTime = null; completePickUp(); hideAnimation(); } } } else { _startTime = null; hideAnimation(); } }
public BookingDto(Booking booking) { _BookingID = booking.ID; _BookingDate = booking.BookingDate; _Comment = booking.Comment; _Status = booking.Status; }
public RouteOrderPassengerDetailDto(RouteOrderPassengerDetail routeOrderPassengerDetail) : base(routeOrderPassengerDetail) { _CountryID = routeOrderPassengerDetail.CountryID; _RequirementID = routeOrderPassengerDetail.RequirementID; _Age = routeOrderPassengerDetail.Age; _IsLeader = routeOrderPassengerDetail.IsLeader; _FirstName = routeOrderPassengerDetail.FirstName; _LastName = routeOrderPassengerDetail.LastName; _MiddleName = routeOrderPassengerDetail.MiddleName; _Title = routeOrderPassengerDetail.Title; _Citizenship = routeOrderPassengerDetail.Citizenship; _Passport = routeOrderPassengerDetail.Passport; _Gender = routeOrderPassengerDetail.Gender; _Brithday = routeOrderPassengerDetail.Brithday; _Email = routeOrderPassengerDetail.Email; _Address1 = routeOrderPassengerDetail.Address1; _Address2 = routeOrderPassengerDetail.Address2; _City = routeOrderPassengerDetail.City; _Province = routeOrderPassengerDetail.Province; _Postcode = routeOrderPassengerDetail.Postcode; _Cellphone = routeOrderPassengerDetail.Cellphone; _Telephone = routeOrderPassengerDetail.Telephone; _Fax = routeOrderPassengerDetail.Fax; }
public ScheduleDto(Schedule schedule) { _ScheduleId = schedule.ID; _VesselId = schedule.VesselId; _FareId = schedule.FareId; _SailingTime = schedule.SailingTime; _ArrivalTime = schedule.ArrivalTime; }
public Repayment() { this.BorrowOrLean = 0; this.Amount = 0.0M; this.Notes = string.Empty; this.executeDate = new System.DateTime?(System.DateTime.Now); this.interest = 0.0; this._repayToOrGetBackFromItems = new EntitySet<Repayment>(new System.Action<Repayment>(this.attach_ToDo), new System.Action<Repayment>(this.detach_ToDo)); }
private void Populate(ISecurityInfo securityInfo) { this.IsActive = securityInfo.IsActive; this.IsTempPassword = securityInfo.IsTempPassword; this.Password = securityInfo.Password; this.Username = securityInfo.Username; if (securityInfo.DateTimePasswordExpires.HasValue) this.DateTimePasswordExpires = DateTimePasswordExpires.Value; }
public DateRange(System.DateTime startInclusive, System.DateTime endInclusive) { if (startInclusive > endInclusive) { throw new ArgumentException("End is before start."); } m_startInclusiveDate = startInclusive; m_endInclusiveDate = endInclusive; }
internal void _fromJSON(com.sybase.afx.json.JsonObject _json) { __valorBoolean = (_json.GetNullableBoolean("valorBoolean")); __valorInteger = (_json.GetNullableInt("valorInteger")); __valorString = (_json.GetNullableString("valorString")); __valorDouble = (_json.GetNullableDouble("valorDouble")); __valorDateTime = (_json.GetNullableDateTime("valorDateTime")); __idCustomLocalData = (_json.GetString("idCustomLocalData")); char op_2 = _json.GetChar("_op"); _isNew = (op_2 == 'C'); _isDirty = (op_2 == 'U'); _isDeleted = (op_2 == 'D'); }
public static DataSet ViewAllScholasticGradeDetails(System.Int64?sgpGradeId, System.String sgpGradeName, System.Int32?sgpGradePoint, System.DateTime?sgpDate, System.Int32?sgpStatus) { DataSet ds; Database db; string sqlCommand; DbCommand dbCommand; db = DatabaseFactory.CreateDatabase(); sqlCommand = "[dbo].[gspViewAllScholasticGradeDetails]"; dbCommand = db.GetStoredProcCommand(sqlCommand, sgpGradeId, sgpGradeName, sgpGradePoint, sgpDate, sgpStatus); ds = db.ExecuteDataSet(dbCommand); return(ds); }
/// <summary> /// copy the MBO attributes to current MBO /// </summary> public void CopyAll(YPF.Comercial.RRCC.SUP.CustomLocalData entity) { this._isNew = entity._isNew; this.__valorBoolean = entity.__valorBoolean; this.__valorInteger = entity.__valorInteger; this.__valorString = entity.__valorString; this.__valorDouble = entity.__valorDouble; this.__valorDateTime = entity.__valorDateTime; this.__idCustomLocalData = entity.__idCustomLocalData; }
/// <summary> /// GetConvertedValueBetweenTwoCurrencies /// Calls [usp_select_Currency_ConvertedValueBetweenTwoCurrencies] /// </summary> public static Currency GetConvertedValueBetweenTwoCurrencies(System.Double?valueToBeConverted, System.Int32?currencyFromId, System.Int32?currencyToId, System.DateTime?exchangeRateDate) { Rebound.GlobalTrader.DAL.CurrencyDetails objDetails = Rebound.GlobalTrader.DAL.SiteProvider.Currency.GetConvertedValueBetweenTwoCurrencies(valueToBeConverted, currencyFromId, currencyToId, exchangeRateDate); if (objDetails == null) { return(null); } else { Currency obj = new Currency(); obj.ConvertedValue = objDetails.ConvertedValue; objDetails = null; return(obj); } }
public static DataSet GetSearch(System.Int64?sscSubCategoryId, System.Int64?sscCategoryId, System.String sscSubCategoryName, System.DateTime?sscDate, System.Int32?sscStatus) { DataSet ds; Database db; string sqlCommand; DbCommand dbCommand; db = DatabaseFactory.CreateDatabase(); sqlCommand = "[dbo].gspTMSSchoolSubCategory_SEARCH"; dbCommand = db.GetStoredProcCommand(sqlCommand, sscSubCategoryId, sscCategoryId, sscSubCategoryName, sscDate, sscStatus); ds = db.ExecuteDataSet(dbCommand); return(ds); }
/// <summary> /// Update /// Calls [usp_update_ContactSupplement] /// </summary> public abstract bool Update(System.Int32?contactNo, System.Int32?genderNo, System.DateTime?birthday, System.Int32?maritalStatusNo, System.String partnerName, System.DateTime?partnerBirthday, System.DateTime?anniversary, System.Int32?numberOfChildren, System.String childName1, System.Int32?childGenderNo1, System.DateTime?childBirthday1, System.String childName2, System.Int32?childGenderNo2, System.DateTime?childBirthday2, System.String childName3, System.Int32?childGenderNo3, System.DateTime?childBirthday3, System.String personalCellphone, System.String favouriteSport, System.String favouriteTeam, System.String hobbies, System.Boolean?inactive, System.Int32?updatedBy);
internal void _fromJSON(com.sybase.afx.json.JsonObject _json) { __pedido_CodigoSAP = (_json.GetString("pedido_CodigoSAP")); __pedido_Cuenta = (_json.GetString("pedido_Cuenta")); __pedido_Estado_CodigoSAP = (_json.GetString("pedido_Estado_CodigoSAP")); __pedido_direccionEntrega = (_json.GetString("pedido_direccionEntrega")); __pedido_FechaCreacion = (_json.GetNullableDate("pedido_FechaCreacion")); __pedido_HoraCreacion = (_json.GetNullableTime("pedido_HoraCreacion")); __pedido_FechaAprobacion = (_json.GetNullableDate("pedido_FechaAprobacion")); __pedido_HoraAprobacion = (_json.GetNullableTime("pedido_HoraAprobacion")); __pedido_ImporteTotal = (_json.GetDecimal("pedido_ImporteTotal")); __pedido_ImporteFacturado = (_json.GetDecimal("pedido_ImporteFacturado")); __producto_CodigoSAP = (_json.GetString("producto_CodigoSAP")); __producto_Estado_CodigoSAP = (_json.GetString("producto_Estado_CodigoSAP")); __producto_Terminal_CodigoSAP = (_json.GetString("producto_Terminal_CodigoSAP")); __producto_VolumenTotal = (_json.GetDecimal("producto_VolumenTotal")); __producto_VolumenPendiente = (_json.GetDecimal("producto_VolumenPendiente")); __producto_VolumenDespachado = (_json.GetDecimal("producto_VolumenDespachado")); __producto_UnidadMedida = (_json.GetString("producto_UnidadMedida")); __producto_ImporteTotal = (_json.GetDecimal("producto_ImporteTotal")); __entrega_CodigoSAP = (_json.GetString("entrega_CodigoSAP")); __entrega_NumeroRemito = (_json.GetString("entrega_NumeroRemito")); __entrega_Estado_CodigoSAP = (_json.GetString("entrega_Estado_CodigoSAP")); __entrega_Patente = (_json.GetString("entrega_Patente")); __entrega_EstadoTransporte_CodigoSAP = (_json.GetString("entrega_EstadoTransporte_CodigoSAP")); __entrega_FechaPlanificada = (_json.GetNullableDate("entrega_FechaPlanificada")); __entrega_FechaCarga = (_json.GetNullableDate("entrega_FechaCarga")); __entrega_FechaInicio = (_json.GetNullableDate("entrega_FechaInicio")); __pending = (_json.GetBoolean("pending")); __pendingChange = (_json.GetChar("pendingChange")); __replayPending = (_json.GetLong("replayPending")); __replayFailure = (_json.GetLong("replayFailure")); __surrogateKey = (_json.GetLong("surrogateKey")); __replayCounter = (_json.GetLong("_rc")); __disableSubmit = (_json.GetBoolean("disableSubmit")); char op_2 = _json.GetChar("_op"); _isNew = (op_2 == 'C'); _isDirty = (op_2 == 'U'); _isDeleted = (op_2 == 'D'); }
private void LoadParameters() { if (!string.IsNullOrEmpty(this.Page.Request.QueryString["productName"])) { this.productName = Globals.UrlDecode(this.Page.Request.QueryString["productName"]); } if (!string.IsNullOrEmpty(this.Page.Request.QueryString["productCode"])) { this.productCode = Globals.UrlDecode(this.Page.Request.QueryString["productCode"]); } int value = 0; if (int.TryParse(this.Page.Request.QueryString["categoryId"], out value)) { this.categoryId = new int?(value); } int value2 = 0; if (int.TryParse(this.Page.Request.QueryString["brandId"], out value2)) { this.dropBrandList.SelectedValue = new int?(value2); } int value3 = 0; if (int.TryParse(this.Page.Request.QueryString["tagId"], out value3)) { this.tagId = new int?(value3); } int value4 = 0; if (int.TryParse(this.Page.Request.QueryString["typeId"], out value4)) { this.typeId = new int?(value4); } int value5 = 0; if (int.TryParse(this.Page.Request.QueryString["distributorId"], out value5)) { this.distributorId = new int?(value5); } bool.TryParse(this.Page.Request.QueryString["isAlert"], out this.isAlert); if (!string.IsNullOrEmpty(this.Page.Request.QueryString["SaleStatus"])) { this.saleStatus = (ProductSaleStatus)System.Enum.Parse(typeof(ProductSaleStatus), this.Page.Request.QueryString["SaleStatus"]); } if (!string.IsNullOrEmpty(this.Page.Request.QueryString["PenetrationStatus"])) { this.penetrationStatus = (PenetrationStatus)System.Enum.Parse(typeof(PenetrationStatus), this.Page.Request.QueryString["PenetrationStatus"]); } if (!string.IsNullOrEmpty(this.Page.Request.QueryString["startDate"])) { this.startDate = new System.DateTime?(System.DateTime.Parse(this.Page.Request.QueryString["startDate"])); } if (!string.IsNullOrEmpty(this.Page.Request.QueryString["endDate"])) { this.endDate = new System.DateTime?(System.DateTime.Parse(this.Page.Request.QueryString["endDate"])); } this.txtSearchText.Text = this.productName; this.dropCategories.DataBind(); this.dropCategories.SelectedValue = this.categoryId; this.dropTagList.DataBind(); this.dropTagList.SelectedValue = this.tagId; this.calendarStartDate.SelectedDate = this.startDate; this.calendarEndDate.SelectedDate = this.endDate; this.dropType.SelectedValue = this.typeId; }
///<summary> /// Creates a new <see cref="VIndividualDemographicsBase"/> instance. ///</summary> ///<param name="_customerId"></param> ///<param name="_totalPurchaseYtd"></param> ///<param name="_dateFirstPurchase"></param> ///<param name="_birthDate"></param> ///<param name="_maritalStatus"></param> ///<param name="_yearlyIncome"></param> ///<param name="_gender"></param> ///<param name="_totalChildren"></param> ///<param name="_numberChildrenAtHome"></param> ///<param name="_education"></param> ///<param name="_occupation"></param> ///<param name="_homeOwnerFlag"></param> ///<param name="_numberCarsOwned"></param> public VIndividualDemographicsBase(System.Int32 _customerId, System.Decimal?_totalPurchaseYtd, System.DateTime?_dateFirstPurchase, System.DateTime?_birthDate, System.String _maritalStatus, System.String _yearlyIncome, System.String _gender, System.Int32?_totalChildren, System.Int32?_numberChildrenAtHome, System.String _education, System.String _occupation, System.Boolean?_homeOwnerFlag, System.Int32?_numberCarsOwned) { this._customerId = _customerId; this._totalPurchaseYtd = _totalPurchaseYtd; this._dateFirstPurchase = _dateFirstPurchase; this._birthDate = _birthDate; this._maritalStatus = _maritalStatus; this._yearlyIncome = _yearlyIncome; this._gender = _gender; this._totalChildren = _totalChildren; this._numberChildrenAtHome = _numberChildrenAtHome; this._education = _education; this._occupation = _occupation; this._homeOwnerFlag = _homeOwnerFlag; this._numberCarsOwned = _numberCarsOwned; }
public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; var useParameterSelect = this.Select.StartsWith("^") || this.PassThru.IsPresent; // create request and set iteration invariants var request = new Amazon.Kinesis.Model.ListShardsRequest(); if (cmdletContext.ExclusiveStartShardId != null) { request.ExclusiveStartShardId = cmdletContext.ExclusiveStartShardId; } // populate ShardFilter var requestShardFilterIsNull = true; request.ShardFilter = new Amazon.Kinesis.Model.ShardFilter(); System.String requestShardFilter_shardFilter_ShardId = null; if (cmdletContext.ShardFilter_ShardId != null) { requestShardFilter_shardFilter_ShardId = cmdletContext.ShardFilter_ShardId; } if (requestShardFilter_shardFilter_ShardId != null) { request.ShardFilter.ShardId = requestShardFilter_shardFilter_ShardId; requestShardFilterIsNull = false; } System.DateTime?requestShardFilter_shardFilter_Timestamp = null; if (cmdletContext.ShardFilter_Timestamp != null) { requestShardFilter_shardFilter_Timestamp = cmdletContext.ShardFilter_Timestamp.Value; } if (requestShardFilter_shardFilter_Timestamp != null) { request.ShardFilter.Timestamp = requestShardFilter_shardFilter_Timestamp.Value; requestShardFilterIsNull = false; } Amazon.Kinesis.ShardFilterType requestShardFilter_shardFilter_Type = null; if (cmdletContext.ShardFilter_Type != null) { requestShardFilter_shardFilter_Type = cmdletContext.ShardFilter_Type; } if (requestShardFilter_shardFilter_Type != null) { request.ShardFilter.Type = requestShardFilter_shardFilter_Type; requestShardFilterIsNull = false; } // determine if request.ShardFilter should be set to null if (requestShardFilterIsNull) { request.ShardFilter = null; } if (cmdletContext.StreamCreationTimestamp != null) { request.StreamCreationTimestamp = cmdletContext.StreamCreationTimestamp.Value; } if (cmdletContext.StreamName != null) { request.StreamName = cmdletContext.StreamName; } // Initialize loop variants and commence piping System.String _nextToken = null; int? _emitLimit = null; int _retrievedSoFar = 0; if (AutoIterationHelpers.HasValue(cmdletContext.NextToken)) { _nextToken = cmdletContext.NextToken; } if (cmdletContext.MaxResult.HasValue) { // The service has a maximum page size of 10000. If the user has // asked for more items than page max, and there is no page size // configured, we rely on the service ignoring the set maximum // and giving us 10000 items back. If a page size is set, that will // be used to configure the pagination. // We'll make further calls to satisfy the user's request. _emitLimit = cmdletContext.MaxResult; } var _userControllingPaging = this.NoAutoIteration.IsPresent || ParameterWasBound(nameof(this.NextToken)); var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); do { request.NextToken = _nextToken; if (_emitLimit.HasValue) { int correctPageSize = Math.Min(10000, _emitLimit.Value); request.MaxResults = AutoIterationHelpers.ConvertEmitLimitToInt32(correctPageSize); } CmdletOutput output; try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; if (!useParameterSelect) { pipelineOutput = cmdletContext.Select(response, this); } output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; int _receivedThisCall = response.Shards.Count; _nextToken = response.NextToken; _retrievedSoFar += _receivedThisCall; if (_emitLimit.HasValue) { _emitLimit -= _receivedThisCall; } } catch (Exception e) { if (_retrievedSoFar == 0 || !_emitLimit.HasValue) { output = new CmdletOutput { ErrorResponse = e }; } else { break; } } ProcessOutput(output); } while (!_userControllingPaging && AutoIterationHelpers.HasValue(_nextToken) && (!_emitLimit.HasValue || _emitLimit.Value >= 1)); if (useParameterSelect) { WriteObject(cmdletContext.Select(null, this)); } return(null); }
public void SetReceive_complete_time(System.DateTime?value) { this.receive_complete_time_ = value; }
public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute var useParameterSelect = this.Select.StartsWith("^") || this.PassThru.IsPresent; #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute // create request and set iteration invariants var request = new Amazon.Kinesis.Model.ListShardsRequest(); if (cmdletContext.ExclusiveStartShardId != null) { request.ExclusiveStartShardId = cmdletContext.ExclusiveStartShardId; } if (cmdletContext.MaxResult != null) { request.MaxResults = AutoIterationHelpers.ConvertEmitLimitToServiceTypeInt32(cmdletContext.MaxResult.Value); } // populate ShardFilter var requestShardFilterIsNull = true; request.ShardFilter = new Amazon.Kinesis.Model.ShardFilter(); System.String requestShardFilter_shardFilter_ShardId = null; if (cmdletContext.ShardFilter_ShardId != null) { requestShardFilter_shardFilter_ShardId = cmdletContext.ShardFilter_ShardId; } if (requestShardFilter_shardFilter_ShardId != null) { request.ShardFilter.ShardId = requestShardFilter_shardFilter_ShardId; requestShardFilterIsNull = false; } System.DateTime?requestShardFilter_shardFilter_Timestamp = null; if (cmdletContext.ShardFilter_Timestamp != null) { requestShardFilter_shardFilter_Timestamp = cmdletContext.ShardFilter_Timestamp.Value; } if (requestShardFilter_shardFilter_Timestamp != null) { request.ShardFilter.Timestamp = requestShardFilter_shardFilter_Timestamp.Value; requestShardFilterIsNull = false; } Amazon.Kinesis.ShardFilterType requestShardFilter_shardFilter_Type = null; if (cmdletContext.ShardFilter_Type != null) { requestShardFilter_shardFilter_Type = cmdletContext.ShardFilter_Type; } if (requestShardFilter_shardFilter_Type != null) { request.ShardFilter.Type = requestShardFilter_shardFilter_Type; requestShardFilterIsNull = false; } // determine if request.ShardFilter should be set to null if (requestShardFilterIsNull) { request.ShardFilter = null; } if (cmdletContext.StreamCreationTimestamp != null) { request.StreamCreationTimestamp = cmdletContext.StreamCreationTimestamp.Value; } if (cmdletContext.StreamName != null) { request.StreamName = cmdletContext.StreamName; } // Initialize loop variant and commence piping var _nextToken = cmdletContext.NextToken; var _userControllingPaging = this.NoAutoIteration.IsPresent || ParameterWasBound(nameof(this.NextToken)); var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); do { request.NextToken = _nextToken; CmdletOutput output; try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; if (!useParameterSelect) { pipelineOutput = cmdletContext.Select(response, this); } output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; _nextToken = response.NextToken; } catch (Exception e) { output = new CmdletOutput { ErrorResponse = e }; } ProcessOutput(output); } while (!_userControllingPaging && AutoIterationHelpers.HasValue(_nextToken)); if (useParameterSelect) { WriteObject(cmdletContext.Select(null, this)); } return(null); }
public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; // create request var request = new Amazon.EC2.Model.ImportSnapshotRequest(); // populate ClientData var requestClientDataIsNull = true; request.ClientData = new Amazon.EC2.Model.ClientData(); System.String requestClientData_clientData_Comment = null; if (cmdletContext.ClientData_Comment != null) { requestClientData_clientData_Comment = cmdletContext.ClientData_Comment; } if (requestClientData_clientData_Comment != null) { request.ClientData.Comment = requestClientData_clientData_Comment; requestClientDataIsNull = false; } System.DateTime?requestClientData_clientData_UtcUploadEnd = null; if (cmdletContext.ClientData_UtcUploadEnd != null) { requestClientData_clientData_UtcUploadEnd = cmdletContext.ClientData_UtcUploadEnd.Value; } if (requestClientData_clientData_UtcUploadEnd != null) { request.ClientData.UploadEndUtc = requestClientData_clientData_UtcUploadEnd.Value; requestClientDataIsNull = false; } System.Double?requestClientData_clientData_UploadSize = null; if (cmdletContext.ClientData_UploadSize != null) { requestClientData_clientData_UploadSize = cmdletContext.ClientData_UploadSize.Value; } if (requestClientData_clientData_UploadSize != null) { request.ClientData.UploadSize = requestClientData_clientData_UploadSize.Value; requestClientDataIsNull = false; } System.DateTime?requestClientData_clientData_UtcUploadStart = null; if (cmdletContext.ClientData_UtcUploadStart != null) { requestClientData_clientData_UtcUploadStart = cmdletContext.ClientData_UtcUploadStart.Value; } if (requestClientData_clientData_UtcUploadStart != null) { request.ClientData.UploadStartUtc = requestClientData_clientData_UtcUploadStart.Value; requestClientDataIsNull = false; } #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute System.DateTime?requestClientData_clientData_UploadEnd = null; if (cmdletContext.ClientData_UploadEnd != null) { if (cmdletContext.ClientData_UtcUploadEnd != null) { throw new System.ArgumentException("Parameters ClientData_UploadEnd and ClientData_UtcUploadEnd are mutually exclusive.", nameof(this.ClientData_UploadEnd)); } requestClientData_clientData_UploadEnd = cmdletContext.ClientData_UploadEnd.Value; } if (requestClientData_clientData_UploadEnd != null) { request.ClientData.UploadEnd = requestClientData_clientData_UploadEnd.Value; requestClientDataIsNull = false; } #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute System.DateTime?requestClientData_clientData_UploadStart = null; if (cmdletContext.ClientData_UploadStart != null) { if (cmdletContext.ClientData_UtcUploadStart != null) { throw new System.ArgumentException("Parameters ClientData_UploadStart and ClientData_UtcUploadStart are mutually exclusive.", nameof(this.ClientData_UploadStart)); } requestClientData_clientData_UploadStart = cmdletContext.ClientData_UploadStart.Value; } if (requestClientData_clientData_UploadStart != null) { request.ClientData.UploadStart = requestClientData_clientData_UploadStart.Value; requestClientDataIsNull = false; } #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute // determine if request.ClientData should be set to null if (requestClientDataIsNull) { request.ClientData = null; } if (cmdletContext.ClientToken != null) { request.ClientToken = cmdletContext.ClientToken; } if (cmdletContext.Description != null) { request.Description = cmdletContext.Description; } // populate DiskContainer var requestDiskContainerIsNull = true; request.DiskContainer = new Amazon.EC2.Model.SnapshotDiskContainer(); System.String requestDiskContainer_diskContainer_Description = null; if (cmdletContext.DiskContainer_Description != null) { requestDiskContainer_diskContainer_Description = cmdletContext.DiskContainer_Description; } if (requestDiskContainer_diskContainer_Description != null) { request.DiskContainer.Description = requestDiskContainer_diskContainer_Description; requestDiskContainerIsNull = false; } System.String requestDiskContainer_diskContainer_Format = null; if (cmdletContext.DiskContainer_Format != null) { requestDiskContainer_diskContainer_Format = cmdletContext.DiskContainer_Format; } if (requestDiskContainer_diskContainer_Format != null) { request.DiskContainer.Format = requestDiskContainer_diskContainer_Format; requestDiskContainerIsNull = false; } System.String requestDiskContainer_diskContainer_Url = null; if (cmdletContext.DiskContainer_Url != null) { requestDiskContainer_diskContainer_Url = cmdletContext.DiskContainer_Url; } if (requestDiskContainer_diskContainer_Url != null) { request.DiskContainer.Url = requestDiskContainer_diskContainer_Url; requestDiskContainerIsNull = false; } Amazon.EC2.Model.UserBucket requestDiskContainer_diskContainer_UserBucket = null; // populate UserBucket var requestDiskContainer_diskContainer_UserBucketIsNull = true; requestDiskContainer_diskContainer_UserBucket = new Amazon.EC2.Model.UserBucket(); System.String requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Bucket = null; if (cmdletContext.DiskContainer_S3Bucket != null) { requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Bucket = cmdletContext.DiskContainer_S3Bucket; } if (requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Bucket != null) { requestDiskContainer_diskContainer_UserBucket.S3Bucket = requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Bucket; requestDiskContainer_diskContainer_UserBucketIsNull = false; } System.String requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Key = null; if (cmdletContext.DiskContainer_S3Key != null) { requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Key = cmdletContext.DiskContainer_S3Key; } if (requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Key != null) { requestDiskContainer_diskContainer_UserBucket.S3Key = requestDiskContainer_diskContainer_UserBucket_diskContainer_S3Key; requestDiskContainer_diskContainer_UserBucketIsNull = false; } // determine if requestDiskContainer_diskContainer_UserBucket should be set to null if (requestDiskContainer_diskContainer_UserBucketIsNull) { requestDiskContainer_diskContainer_UserBucket = null; } if (requestDiskContainer_diskContainer_UserBucket != null) { request.DiskContainer.UserBucket = requestDiskContainer_diskContainer_UserBucket; requestDiskContainerIsNull = false; } // determine if request.DiskContainer should be set to null if (requestDiskContainerIsNull) { request.DiskContainer = null; } if (cmdletContext.Encrypted != null) { request.Encrypted = cmdletContext.Encrypted.Value; } if (cmdletContext.KmsKeyId != null) { request.KmsKeyId = cmdletContext.KmsKeyId; } if (cmdletContext.RoleName != null) { request.RoleName = cmdletContext.RoleName; } if (cmdletContext.TagSpecification != null) { request.TagSpecifications = cmdletContext.TagSpecification; } CmdletOutput output; // issue call var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; pipelineOutput = cmdletContext.Select(response, this); output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; } catch (Exception e) { output = new CmdletOutput { ErrorResponse = e }; } return(output); }
public PSRetentionPolicy(int?days = default(int?), System.DateTime?lastUpdatedTime = default(System.DateTime?), string status = default(string)) { Days = days; LastUpdatedTime = lastUpdatedTime; Status = status; }
///<summary> /// Creates a new <see cref="OrdersQryBase"/> instance. ///</summary> ///<param name="_orderId"></param> ///<param name="_customerId"></param> ///<param name="_employeeId"></param> ///<param name="_orderDate"></param> ///<param name="_requiredDate"></param> ///<param name="_shippedDate"></param> ///<param name="_shipVia"></param> ///<param name="_freight"></param> ///<param name="_shipName"></param> ///<param name="_shipAddress"></param> ///<param name="_shipCity"></param> ///<param name="_shipRegion"></param> ///<param name="_shipPostalCode"></param> ///<param name="_shipCountry"></param> ///<param name="_companyName"></param> ///<param name="_address"></param> ///<param name="_city"></param> ///<param name="_region"></param> ///<param name="_postalCode"></param> ///<param name="_country"></param> public OrdersQryBase(System.Int32 _orderId, System.String _customerId, System.Int32? _employeeId, System.DateTime? _orderDate, System.DateTime? _requiredDate, System.DateTime? _shippedDate, System.Int32? _shipVia, System.Decimal? _freight, System.String _shipName, System.String _shipAddress, System.String _shipCity, System.String _shipRegion, System.String _shipPostalCode, System.String _shipCountry, System.String _companyName, System.String _address, System.String _city, System.String _region, System.String _postalCode, System.String _country) { this._orderId = _orderId; this._customerId = _customerId; this._employeeId = _employeeId; this._orderDate = _orderDate; this._requiredDate = _requiredDate; this._shippedDate = _shippedDate; this._shipVia = _shipVia; this._freight = _freight; this._shipName = _shipName; this._shipAddress = _shipAddress; this._shipCity = _shipCity; this._shipRegion = _shipRegion; this._shipPostalCode = _shipPostalCode; this._shipCountry = _shipCountry; this._companyName = _companyName; this._address = _address; this._city = _city; this._region = _region; this._postalCode = _postalCode; this._country = _country; }
///<summary> /// A simple factory method to create a new <see cref="VIndividualDemographics"/> instance. ///</summary> ///<param name="_customerId"></param> ///<param name="_totalPurchaseYtd"></param> ///<param name="_dateFirstPurchase"></param> ///<param name="_birthDate"></param> ///<param name="_maritalStatus"></param> ///<param name="_yearlyIncome"></param> ///<param name="_gender"></param> ///<param name="_totalChildren"></param> ///<param name="_numberChildrenAtHome"></param> ///<param name="_education"></param> ///<param name="_occupation"></param> ///<param name="_homeOwnerFlag"></param> ///<param name="_numberCarsOwned"></param> public static VIndividualDemographics CreateVIndividualDemographics(System.Int32 _customerId, System.Decimal?_totalPurchaseYtd, System.DateTime?_dateFirstPurchase, System.DateTime?_birthDate, System.String _maritalStatus, System.String _yearlyIncome, System.String _gender, System.Int32?_totalChildren, System.Int32?_numberChildrenAtHome, System.String _education, System.String _occupation, System.Boolean?_homeOwnerFlag, System.Int32?_numberCarsOwned) { VIndividualDemographics newVIndividualDemographics = new VIndividualDemographics(); newVIndividualDemographics.CustomerId = _customerId; newVIndividualDemographics.TotalPurchaseYtd = _totalPurchaseYtd; newVIndividualDemographics.DateFirstPurchase = _dateFirstPurchase; newVIndividualDemographics.BirthDate = _birthDate; newVIndividualDemographics.MaritalStatus = _maritalStatus; newVIndividualDemographics.YearlyIncome = _yearlyIncome; newVIndividualDemographics.Gender = _gender; newVIndividualDemographics.TotalChildren = _totalChildren; newVIndividualDemographics.NumberChildrenAtHome = _numberChildrenAtHome; newVIndividualDemographics.Education = _education; newVIndividualDemographics.Occupation = _occupation; newVIndividualDemographics.HomeOwnerFlag = _homeOwnerFlag; newVIndividualDemographics.NumberCarsOwned = _numberCarsOwned; return(newVIndividualDemographics); }
public DateRange(System.DateTime startInclusive) { m_startInclusiveDate = startInclusive; }
public override void SetProperty(string name, object value) { esColumnMetadata col = this.Meta.Columns.FindByPropertyName(name); if (col != null) { if (value == null || value is System.String) { // Use the strongly typed property switch (name) { case "Id": this.str().Id = (string)value; break; case "ShippingRequestType": this.str().ShippingRequestType = (string)value; break; case "OrderId": this.str().OrderId = (string)value; break; case "CartId": this.str().CartId = (string)value; break; case "RequestSent": this.str().RequestSent = (string)value; break; case "ResponseReceived": this.str().ResponseReceived = (string)value; break; case "CreatedOn": this.str().CreatedOn = (string)value; break; } } else { switch (name) { case "Id": if (value == null || value is System.Int32) { this.Id = (System.Int32?)value; } OnPropertyChanged(ShippingLogMetadata.PropertyNames.Id); break; case "OrderId": if (value == null || value is System.Int32) { this.OrderId = (System.Int32?)value; } OnPropertyChanged(ShippingLogMetadata.PropertyNames.OrderId); break; case "CartId": if (value == null || value is System.Guid) { this.CartId = (System.Guid?)value; } OnPropertyChanged(ShippingLogMetadata.PropertyNames.CartId); break; case "CreatedOn": if (value == null || value is System.DateTime) { this.CreatedOn = (System.DateTime?)value; } OnPropertyChanged(ShippingLogMetadata.PropertyNames.CreatedOn); break; default: break; } } } else if (this.ContainsColumn(name)) { this.SetColumn(name, value); } else { throw new Exception("SetProperty Error: '" + name + "' not found"); } }
/// <summary> /// copy the MBO attributes to current MBO /// </summary> public void CopyAll(YPF.Comercial.RRCC.SUP.LogRecordImpl entity) { this._isNew = entity._isNew; this.__level = entity.__level; this.__code = entity.__code; this.__eisCode = entity.__eisCode; this.__message = entity.__message; this.__component = entity.__component; this.__entityKey = entity.__entityKey; this.__operation = entity.__operation; this.__requestId = entity.__requestId; this.__timestamp = entity.__timestamp; this.__pending = entity.__pending; this.__pendingChange = entity.__pendingChange; this.__replayPending = entity.__replayPending; this.__replayFailure = entity.__replayFailure; this.__messageId = entity.MessageId; this.__replayCounter = entity.__replayCounter; this.__disableSubmit = entity.__disableSubmit; }
partial void GetAllOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, Kendo.Mvc.UI.DataSourceRequest request, System.DateTime?dateFrom, System.DateTime?dateTo);
protected override void Bind(Sybase.Persistence.ConnectionProfile profile, System.Data.IDataReader rs) { this.__pedido_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"pedido_CodigoSAP",0); this.__pedido_Cuenta = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"pedido_Cuenta",1); this.__pedido_Estado_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"pedido_Estado_CodigoSAP",2); this.__pedido_direccionEntrega = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"pedido_direccionEntrega",3); this.__pedido_FechaCreacion = com.sybase.afx.db.ReaderUtil.GetNullableDate(profile,rs,"pedido_FechaCreacion",4); this.__pedido_HoraCreacion = com.sybase.afx.db.ReaderUtil.GetNullableTime(profile,rs,"pedido_HoraCreacion",5); this.__pedido_FechaAprobacion = com.sybase.afx.db.ReaderUtil.GetNullableDate(profile,rs,"pedido_FechaAprobacion",6); this.__pedido_HoraAprobacion = com.sybase.afx.db.ReaderUtil.GetNullableTime(profile,rs,"pedido_HoraAprobacion",7); this.__pedido_ImporteTotal = com.sybase.afx.db.ReaderUtil.GetDecimal(profile,rs,"pedido_ImporteTotal",8); this.__pedido_ImporteFacturado = com.sybase.afx.db.ReaderUtil.GetDecimal(profile,rs,"pedido_ImporteFacturado",9); this.__producto_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"producto_CodigoSAP",10); this.__producto_Estado_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"producto_Estado_CodigoSAP",11); this.__producto_Terminal_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"producto_Terminal_CodigoSAP",12); this.__producto_VolumenTotal = com.sybase.afx.db.ReaderUtil.GetDecimal(profile,rs,"producto_VolumenTotal",13); this.__producto_VolumenPendiente = com.sybase.afx.db.ReaderUtil.GetDecimal(profile,rs,"producto_VolumenPendiente",14); this.__producto_VolumenDespachado = com.sybase.afx.db.ReaderUtil.GetDecimal(profile,rs,"producto_VolumenDespachado",15); this.__producto_UnidadMedida = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"producto_UnidadMedida",16); this.__producto_ImporteTotal = com.sybase.afx.db.ReaderUtil.GetDecimal(profile,rs,"producto_ImporteTotal",17); this.__entrega_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"entrega_CodigoSAP",18); this.__entrega_NumeroRemito = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"entrega_NumeroRemito",19); this.__entrega_Estado_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"entrega_Estado_CodigoSAP",20); this.__entrega_Patente = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"entrega_Patente",21); this.__entrega_EstadoTransporte_CodigoSAP = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"entrega_EstadoTransporte_CodigoSAP",22); this.__entrega_FechaPlanificada = com.sybase.afx.db.ReaderUtil.GetNullableDate(profile,rs,"entrega_FechaPlanificada",23); this.__entrega_FechaCarga = com.sybase.afx.db.ReaderUtil.GetNullableDate(profile,rs,"entrega_FechaCarga",24); this.__entrega_FechaInicio = com.sybase.afx.db.ReaderUtil.GetNullableDate(profile,rs,"entrega_FechaInicio",25); this.__pending = com.sybase.afx.db.ReaderUtil.GetBoolean(profile,rs,"pending",26); this.__pendingChange = com.sybase.afx.db.ReaderUtil.GetChar(profile,rs,"pendingChange",27); this.__replayPending = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"replayPending",28); this.__replayFailure = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"replayFailure",29); this.__surrogateKey = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"surrogateKey",30); this.__replayCounter = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"replayCounter",31); this.__disableSubmit = com.sybase.afx.db.ReaderUtil.GetBoolean(profile,rs,"disableSubmit",32); _isNew = false; _isDirty = false; if (this.IsPending) { this.SetOriginalState(null); this.__originalStateValid = false; } else { YPF.Comercial.RRCC.SUP.ClienteDetallePedido os_1 = new YPF.Comercial.RRCC.SUP.ClienteDetallePedido(); os_1.CopyAll(this); this.SetOriginalState(os_1); } }
public override System.Web.Mvc.ActionResult GetAll(Kendo.Mvc.UI.DataSourceRequest request, System.DateTime?dateFrom, System.DateTime?dateTo) { var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetAll); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "request", request); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "dateFrom", dateFrom); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "dateTo", dateTo); GetAllOverride(callInfo, request, dateFrom, dateTo); return(callInfo); }
/// <summary> /// Methods _getrejectionDateParameter Represent Parameter rejectionDate in CodeGeneratingInfo Table /// <param name="pParameterDirection">Specifies the type of a parameter</param> /// </summary> private DbParameter _getrejectionDateParameterTo(System.DateTime?rejectionDateTo, ParameterDirection pParameterDirection) { return(CreateParameter("rejectionDateTo", rejectionDateTo, DbType.DateTime, pParameterDirection, 23, 3)); }
public IQueryable <CARGA_PRESTACIONES_ENCABEZADO> GetByFilter(int?CARGA_PRESTACIONES_ESTADOId = null, int?TIPO_PRESTACIONId = null, System.DateTime?FECHA_CARGA = null, string ARCHIVO = "") { Error = string.Empty; try { var q = from i in _context.CARGA_PRESTACIONES_ENCABEZADO where i.ACTIVO select i; if (FECHA_CARGA.HasValue) { q = q.Where(i => i.FECHA_CARGA == FECHA_CARGA.Value); } if (!string.IsNullOrEmpty(ARCHIVO)) { q = q.Where(i => i.ARCHIVO.Contains(ARCHIVO)); } if (CARGA_PRESTACIONES_ESTADOId.HasValue) { q = q.Where(i => i.CARGA_PRESTACIONES_ESTADO.ID == CARGA_PRESTACIONES_ESTADOId.Value); } if (TIPO_PRESTACIONId.HasValue) { q = q.Where(i => i.TIPO_PRESTACION.ID == TIPO_PRESTACIONId.Value); } return(q); } catch (Exception ex) { ISException.RegisterExcepcion(ex); Error = ex.Message; throw ex; } }
/// <summary> /// Initializes a new instance of the PageLog class. /// </summary> /// <param name="name">Name of the page. /// </param> /// <param name="timestamp">Log timestamp, example: /// '2017-03-13T18:05:42Z'. /// </param> /// <param name="sid">When tracking an analytics session, logs can be /// part of the session by specifying this identifier. /// This attribute is optional, a missing value means the session /// tracking is disabled (like when using only error reporting /// feature). /// Concrete types like StartSessionLog or PageLog are always part of a /// session and always include this identifier. /// </param> /// <param name="properties">Additional key/value pair parameters. /// </param> public PageLog(Device device, string name, System.DateTime?timestamp = default(System.DateTime?), System.Guid?sid = default(System.Guid?), IDictionary <string, string> properties = default(IDictionary <string, string>)) : base(device, timestamp, sid, properties) { Name = name; }
///<summary> /// Creates a new <see cref="SalesTotalsByAmountBase"/> instance. ///</summary> ///<param name="_saleAmount"></param> ///<param name="_orderId"></param> ///<param name="_companyName"></param> ///<param name="_shippedDate"></param> public SalesTotalsByAmountBase(System.Decimal? _saleAmount, System.Int32 _orderId, System.String _companyName, System.DateTime? _shippedDate) { this._saleAmount = _saleAmount; this._orderId = _orderId; this._companyName = _companyName; this._shippedDate = _shippedDate; }
///<summary> /// Creates a new <see cref="VcsPatientBase"/> instance. ///</summary> ///<param name="_patientCode"></param> ///<param name="_firstName"></param> ///<param name="_middleName"></param> ///<param name="_lastName"></param> ///<param name="_dateOfBirth"></param> ///<param name="_sex"></param> ///<param name="_memberType"></param> ///<param name="_membershipSosNumber"></param> ///<param name="_membershipSosExpDate"></param> ///<param name="_nationality"></param> ///<param name="_homeStreet"></param> ///<param name="_homeWard"></param> ///<param name="_homeDistrict"></param> ///<param name="_homeCity"></param> ///<param name="_homeCountry"></param> ///<param name="_companyCode"></param> ///<param name="_billingAddress"></param> ///<param name="_homePhone"></param> ///<param name="_mobilePhone"></param> ///<param name="_companyPhone"></param> ///<param name="_fax"></param> ///<param name="_emailAddress"></param> ///<param name="_createUser"></param> ///<param name="_createDate"></param> ///<param name="_validCorporate"></param> ///<param name="_defaultPaymentMode"></param> ///<param name="_insuranceCardNumber"></param> ///<param name="_insuranceCardExpDate"></param> ///<param name="_isDisabled"></param> ///<param name="_updateUser"></param> ///<param name="_updateDate"></param> ///<param name="_apptRemark"></param> ///<param name="_remark"></param> public VcsPatientBase(System.String _patientCode, System.String _firstName, System.String _middleName, System.String _lastName, System.DateTime _dateOfBirth, System.String _sex, System.String _memberType, System.String _membershipSosNumber, System.DateTime? _membershipSosExpDate, System.String _nationality, System.String _homeStreet, System.String _homeWard, System.String _homeDistrict, System.String _homeCity, System.String _homeCountry, System.String _companyCode, System.String _billingAddress, System.String _homePhone, System.String _mobilePhone, System.String _companyPhone, System.String _fax, System.String _emailAddress, System.String _createUser, System.DateTime _createDate, System.Boolean _validCorporate, System.String _defaultPaymentMode, System.String _insuranceCardNumber, System.DateTime? _insuranceCardExpDate, System.Boolean _isDisabled, System.String _updateUser, System.DateTime _updateDate, System.String _apptRemark, System.String _remark) { this._patientCode = _patientCode; this._firstName = _firstName; this._middleName = _middleName; this._lastName = _lastName; this._dateOfBirth = _dateOfBirth; this._sex = _sex; this._memberType = _memberType; this._membershipSosNumber = _membershipSosNumber; this._membershipSosExpDate = _membershipSosExpDate; this._nationality = _nationality; this._homeStreet = _homeStreet; this._homeWard = _homeWard; this._homeDistrict = _homeDistrict; this._homeCity = _homeCity; this._homeCountry = _homeCountry; this._companyCode = _companyCode; this._billingAddress = _billingAddress; this._homePhone = _homePhone; this._mobilePhone = _mobilePhone; this._companyPhone = _companyPhone; this._fax = _fax; this._emailAddress = _emailAddress; this._createUser = _createUser; this._createDate = _createDate; this._validCorporate = _validCorporate; this._defaultPaymentMode = _defaultPaymentMode; this._insuranceCardNumber = _insuranceCardNumber; this._insuranceCardExpDate = _insuranceCardExpDate; this._isDisabled = _isDisabled; this._updateUser = _updateUser; this._updateDate = _updateDate; this._apptRemark = _apptRemark; this._remark = _remark; }
public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute var useParameterSelect = this.Select.StartsWith("^") || this.PassThru.IsPresent; #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute // create request and set iteration invariants var request = new Amazon.ElastiCache.Model.DescribeUpdateActionsRequest(); if (cmdletContext.CacheClusterId != null) { request.CacheClusterIds = cmdletContext.CacheClusterId; } if (cmdletContext.Engine != null) { request.Engine = cmdletContext.Engine; } if (cmdletContext.MaxRecord != null) { request.MaxRecords = AutoIterationHelpers.ConvertEmitLimitToServiceTypeInt32(cmdletContext.MaxRecord.Value); } if (cmdletContext.ReplicationGroupId != null) { request.ReplicationGroupIds = cmdletContext.ReplicationGroupId; } if (cmdletContext.ServiceUpdateName != null) { request.ServiceUpdateName = cmdletContext.ServiceUpdateName; } if (cmdletContext.ServiceUpdateStatus != null) { request.ServiceUpdateStatus = cmdletContext.ServiceUpdateStatus; } // populate ServiceUpdateTimeRange var requestServiceUpdateTimeRangeIsNull = true; request.ServiceUpdateTimeRange = new Amazon.ElastiCache.Model.TimeRangeFilter(); System.DateTime?requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime = null; if (cmdletContext.ServiceUpdateTimeRange_EndTime != null) { requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime = cmdletContext.ServiceUpdateTimeRange_EndTime.Value; } if (requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime != null) { request.ServiceUpdateTimeRange.EndTime = requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime.Value; requestServiceUpdateTimeRangeIsNull = false; } System.DateTime?requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime = null; if (cmdletContext.ServiceUpdateTimeRange_StartTime != null) { requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime = cmdletContext.ServiceUpdateTimeRange_StartTime.Value; } if (requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime != null) { request.ServiceUpdateTimeRange.StartTime = requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime.Value; requestServiceUpdateTimeRangeIsNull = false; } // determine if request.ServiceUpdateTimeRange should be set to null if (requestServiceUpdateTimeRangeIsNull) { request.ServiceUpdateTimeRange = null; } if (cmdletContext.ShowNodeLevelUpdateStatus != null) { request.ShowNodeLevelUpdateStatus = cmdletContext.ShowNodeLevelUpdateStatus.Value; } if (cmdletContext.UpdateActionStatus != null) { request.UpdateActionStatus = cmdletContext.UpdateActionStatus; } // Initialize loop variant and commence piping var _nextToken = cmdletContext.Marker; var _userControllingPaging = this.NoAutoIteration.IsPresent || ParameterWasBound(nameof(this.Marker)); var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); do { request.Marker = _nextToken; CmdletOutput output; try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; if (!useParameterSelect) { pipelineOutput = cmdletContext.Select(response, this); } output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; _nextToken = response.Marker; } catch (Exception e) { output = new CmdletOutput { ErrorResponse = e }; } ProcessOutput(output); } while (!_userControllingPaging && AutoIterationHelpers.HasValue(_nextToken)); if (useParameterSelect) { WriteObject(cmdletContext.Select(null, this)); } return(null); }
protected void Bind(Sybase.Persistence.ConnectionProfile profile, System.Data.IDataReader rs) { this.__valorBoolean = com.sybase.afx.db.ReaderUtil.GetNullableBoolean(profile,rs,"valorBoolean",0); this.__valorInteger = com.sybase.afx.db.ReaderUtil.GetNullableInt(profile,rs,"valorInteger",1); this.__valorString = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"valorString",2); this.__valorDouble = com.sybase.afx.db.ReaderUtil.GetNullableDouble(profile,rs,"valorDouble",3); this.__valorDateTime = com.sybase.afx.db.ReaderUtil.GetNullableDateTime(profile,rs,"valorDateTime",4); this.__idCustomLocalData = com.sybase.afx.db.ReaderUtil.GetString(profile,rs,"idCustomLocalData",5); _isNew = false; _isDirty = false; }
///<summary> /// Creates a new <see cref="VEmployeeDepartmentHistoryBase"/> instance. ///</summary> ///<param name="_employeeId"></param> ///<param name="_title"></param> ///<param name="_firstName"></param> ///<param name="_middleName"></param> ///<param name="_lastName"></param> ///<param name="_suffix"></param> ///<param name="_shift"></param> ///<param name="_department"></param> ///<param name="_groupName"></param> ///<param name="_startDate"></param> ///<param name="_endDate"></param> public VEmployeeDepartmentHistoryBase(System.Int32 _employeeId, System.String _title, System.String _firstName, System.String _middleName, System.String _lastName, System.String _suffix, System.String _shift, System.String _department, System.String _groupName, System.DateTime _startDate, System.DateTime? _endDate) { this._employeeId = _employeeId; this._title = _title; this._firstName = _firstName; this._middleName = _middleName; this._lastName = _lastName; this._suffix = _suffix; this._shift = _shift; this._department = _department; this._groupName = _groupName; this._startDate = _startDate; this._endDate = _endDate; }
public static TMSExamDetails[] Search(System.Int64?edExamDetailsId, System.String edExamCode, System.Int64?edFacultyId, System.Int64?edFacultyLoginId, System.String edExamType, System.Int64?edUnitTestId, System.Int64?edSchoolId, System.Int64?edSchoolSubId, System.Int64?edSubjectId, System.Int64?edConductFacultyId, System.Int64?edDepartmentID, System.String edExtraDescription, System.String edClasstestTitle, System.String edExtra1, System.DateTime?edExamDate, System.String edStartTime, System.String edEndTime, System.String edExamFees, System.String edTotalMarks, System.String edPassingMarks, System.DateTime?edDate, System.Int32?edStatus, System.String edTitle, System.String edTitle1) { DataSet ds; Database db; string sqlCommand; DbCommand dbCommand; db = DatabaseFactory.CreateDatabase(); sqlCommand = "[dbo].gspTMSExamDetails_SEARCH"; dbCommand = db.GetStoredProcCommand(sqlCommand, edExamDetailsId, edExamCode, edFacultyId, edFacultyLoginId, edExamType, edUnitTestId, edSchoolId, edSchoolSubId, edSubjectId, edConductFacultyId, edDepartmentID, edExtraDescription, edClasstestTitle, edExtra1, edExamDate, edStartTime, edEndTime, edExamFees, edTotalMarks, edPassingMarks, edDate, edStatus, edTitle, edTitle1); ds = db.ExecuteDataSet(dbCommand); ds.Tables[0].TableName = TABLE_NAME; return(TMSExamDetails.MapFrom(ds)); }
internal void _fromJSON(com.sybase.afx.json.JsonObject _json) { __ID = (_json.GetString("ID")); __OPERACION = (_json.GetString("OPERACION")); __DESCRIPCION = (_json.GetString("DESCRIPCION")); __CATEGORIA = (_json.GetString("CATEGORIA")); __COD_TRAN_INT = (_json.GetString("COD_TRAN_INT")); __NRO_ACTIVIDAD = (_json.GetString("NRO_ACTIVIDAD")); __SEGMENTO = (_json.GetString("SEGMENTO")); __NEGOCIO = (_json.GetString("NEGOCIO")); __COD_FORMULARIO = (_json.GetString("COD_FORMULARIO")); __PUNTAJE = (_json.GetDecimal("PUNTAJE")); __LATITUD = (_json.GetString("LATITUD")); __LONGITUD = (_json.GetString("LONGITUD")); __TEXTO_0002 = (_json.GetString("TEXTO_0002")); __TEXTO_ZR01 = (_json.GetString("TEXTO_ZR01")); __TEXTO_ZR02 = (_json.GetString("TEXTO_ZR02")); __TEXTO_ZR07 = (_json.GetString("TEXTO_ZR07")); __TEXTO_ZR08 = (_json.GetString("TEXTO_ZR08")); __TEXTO_ZR09 = (_json.GetString("TEXTO_ZR09")); __TEXTO_ZR10 = (_json.GetString("TEXTO_ZR10")); __TEXTO_ZR11 = (_json.GetString("TEXTO_ZR11")); __FECHA_INI_P = (_json.GetNullableDate("FECHA_INI_P")); __HORA_INI_P = (_json.GetNullableTime("HORA_INI_P")); __FECHA_FIN_P = (_json.GetNullableDate("FECHA_FIN_P")); __HORA_FIN_P = (_json.GetNullableTime("HORA_FIN_P")); __FECHA_INI_R = (_json.GetNullableDate("FECHA_INI_R")); __HORA_INI_R = (_json.GetNullableTime("HORA_INI_R")); __FECHA_FIN_R = (_json.GetNullableDate("FECHA_FIN_R")); __HORA_FIN_R = (_json.GetNullableTime("HORA_FIN_R")); __CLIENTE = (_json.GetString("CLIENTE")); __NOMBRE_CLIENTE = (_json.GetString("NOMBRE_CLIENTE")); __RRCC = (_json.GetString("RRCC")); __NOMBRE_RRCC = (_json.GetString("NOMBRE_RRCC")); __RESPONSABLE = (_json.GetString("RESPONSABLE")); __NOMBRE_RESPONSABLE = (_json.GetString("NOMBRE_RESPONSABLE")); __ESTADO = (_json.GetString("ESTADO")); __MOTIVO = (_json.GetString("MOTIVO")); __CALLE = (_json.GetString("CALLE")); __NUMERO = (_json.GetString("NUMERO")); __COD_POSTAL = (_json.GetString("COD_POSTAL")); __CIUDAD = (_json.GetString("CIUDAD")); __PROVINCIA = (_json.GetString("PROVINCIA")); __PAIS = (_json.GetString("PAIS")); }
public void EndOn(System.DateTime dt) { if (dt < m_startInclusiveDate) throw new ArgumentException("End is before start."); m_endInclusiveDate = dt; }
public Employees(int EmployeeID, string LastName, string FirstName, string Title, string TitleOfCourtesy, System.DateTime? BirthDate, System.DateTime? HireDate, string Address, string City, string Region, string PostalCode, string Country, string HomePhone, string Extension, System.Data.Linq.Binary Photo, string Notes, int? ReportsTo, string PhotoPath) { this._EmployeeID = EmployeeID; this._LastName = LastName; this._FirstName = FirstName; this._Title = Title; this._TitleOfCourtesy = TitleOfCourtesy; this._BirthDate = BirthDate; this._HireDate = HireDate; this._Address = Address; this._City = City; this._Region = Region; this._PostalCode = PostalCode; this._Country = Country; this._HomePhone = HomePhone; this._Extension = Extension; this._Photo = Photo; this._Notes = Notes; this._ReportsTo = ReportsTo; this._PhotoPath = PhotoPath; }
public void Insert(System.Int64?tcTeacherID, System.Int64?tcSyllabusID, System.String tcDescription, System.DateTime?tcStartDate, System.DateTime?tcEndDate, System.String tcpcpStatus, System.Int32?tcStatus, DbTransaction transaction) { Database db; string sqlCommand; DbCommand dbCommand; db = DatabaseFactory.CreateDatabase(); sqlCommand = "[dbo].gspTMSTeacherCourceSyllabus_INSERT"; dbCommand = db.GetStoredProcCommand(sqlCommand, tcTeacherID, tcSyllabusID, tcDescription, tcStartDate, tcEndDate, tcpcpStatus, tcStatus); if (transaction == null) { this.TCTeacherSyllabusID = Convert.ToInt64(db.ExecuteScalar(dbCommand)); } else { this.TCTeacherSyllabusID = Convert.ToInt64(db.ExecuteScalar(dbCommand, transaction)); } return; }
public object Execute(ExecutorContext context) { var cmdletContext = context as CmdletContext; var useParameterSelect = this.Select.StartsWith("^") || this.PassThru.IsPresent; // create request and set iteration invariants var request = new Amazon.ElastiCache.Model.DescribeUpdateActionsRequest(); if (cmdletContext.CacheClusterId != null) { request.CacheClusterIds = cmdletContext.CacheClusterId; } if (cmdletContext.Engine != null) { request.Engine = cmdletContext.Engine; } if (cmdletContext.ReplicationGroupId != null) { request.ReplicationGroupIds = cmdletContext.ReplicationGroupId; } if (cmdletContext.ServiceUpdateName != null) { request.ServiceUpdateName = cmdletContext.ServiceUpdateName; } if (cmdletContext.ServiceUpdateStatus != null) { request.ServiceUpdateStatus = cmdletContext.ServiceUpdateStatus; } // populate ServiceUpdateTimeRange var requestServiceUpdateTimeRangeIsNull = true; request.ServiceUpdateTimeRange = new Amazon.ElastiCache.Model.TimeRangeFilter(); System.DateTime?requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime = null; if (cmdletContext.ServiceUpdateTimeRange_EndTime != null) { requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime = cmdletContext.ServiceUpdateTimeRange_EndTime.Value; } if (requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime != null) { request.ServiceUpdateTimeRange.EndTime = requestServiceUpdateTimeRange_serviceUpdateTimeRange_EndTime.Value; requestServiceUpdateTimeRangeIsNull = false; } System.DateTime?requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime = null; if (cmdletContext.ServiceUpdateTimeRange_StartTime != null) { requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime = cmdletContext.ServiceUpdateTimeRange_StartTime.Value; } if (requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime != null) { request.ServiceUpdateTimeRange.StartTime = requestServiceUpdateTimeRange_serviceUpdateTimeRange_StartTime.Value; requestServiceUpdateTimeRangeIsNull = false; } // determine if request.ServiceUpdateTimeRange should be set to null if (requestServiceUpdateTimeRangeIsNull) { request.ServiceUpdateTimeRange = null; } if (cmdletContext.ShowNodeLevelUpdateStatus != null) { request.ShowNodeLevelUpdateStatus = cmdletContext.ShowNodeLevelUpdateStatus.Value; } if (cmdletContext.UpdateActionStatus != null) { request.UpdateActionStatus = cmdletContext.UpdateActionStatus; } // Initialize loop variants and commence piping System.String _nextToken = null; int? _emitLimit = null; int _retrievedSoFar = 0; if (AutoIterationHelpers.HasValue(cmdletContext.Marker)) { _nextToken = cmdletContext.Marker; } if (AutoIterationHelpers.HasValue(cmdletContext.MaxRecord)) { _emitLimit = cmdletContext.MaxRecord; } var _userControllingPaging = this.NoAutoIteration.IsPresent || ParameterWasBound(nameof(this.Marker)); var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); do { request.Marker = _nextToken; if (_emitLimit.HasValue) { request.MaxRecords = AutoIterationHelpers.ConvertEmitLimitToInt32(_emitLimit.Value); } CmdletOutput output; try { var response = CallAWSServiceOperation(client, request); object pipelineOutput = null; if (!useParameterSelect) { pipelineOutput = cmdletContext.Select(response, this); } output = new CmdletOutput { PipelineOutput = pipelineOutput, ServiceResponse = response }; int _receivedThisCall = response.UpdateActions.Count; _nextToken = response.Marker; _retrievedSoFar += _receivedThisCall; if (_emitLimit.HasValue) { _emitLimit -= _receivedThisCall; } } catch (Exception e) { if (_retrievedSoFar == 0 || !_emitLimit.HasValue) { output = new CmdletOutput { ErrorResponse = e }; } else { break; } } ProcessOutput(output); } while (!_userControllingPaging && AutoIterationHelpers.HasValue(_nextToken) && (!_emitLimit.HasValue || _emitLimit.Value >= 1)); if (useParameterSelect) { WriteObject(cmdletContext.Select(null, this)); } return(null); }
///<summary> /// Creates a new <see cref="VJobCandidateEducationBase"/> instance. ///</summary> ///<param name="_jobCandidateId"></param> ///<param name="_safeNameEduLevel"></param> ///<param name="_safeNameEduStartDate"></param> ///<param name="_safeNameEduEndDate"></param> ///<param name="_safeNameEduDegree"></param> ///<param name="_safeNameEduMajor"></param> ///<param name="_safeNameEduMinor"></param> ///<param name="_safeNameEduGpa"></param> ///<param name="_safeNameEduGpaScale"></param> ///<param name="_safeNameEduSchool"></param> ///<param name="_safeNameEduLocCountryRegion"></param> ///<param name="_safeNameEduLocState"></param> ///<param name="_safeNameEduLocCity"></param> public VJobCandidateEducationBase(System.Int32 _jobCandidateId, System.String _safeNameEduLevel, System.DateTime? _safeNameEduStartDate, System.DateTime? _safeNameEduEndDate, System.String _safeNameEduDegree, System.String _safeNameEduMajor, System.String _safeNameEduMinor, System.String _safeNameEduGpa, System.String _safeNameEduGpaScale, System.String _safeNameEduSchool, System.String _safeNameEduLocCountryRegion, System.String _safeNameEduLocState, System.String _safeNameEduLocCity) { this._jobCandidateId = _jobCandidateId; this._safeNameEduLevel = _safeNameEduLevel; this._safeNameEduStartDate = _safeNameEduStartDate; this._safeNameEduEndDate = _safeNameEduEndDate; this._safeNameEduDegree = _safeNameEduDegree; this._safeNameEduMajor = _safeNameEduMajor; this._safeNameEduMinor = _safeNameEduMinor; this._safeNameEduGpa = _safeNameEduGpa; this._safeNameEduGpaScale = _safeNameEduGpaScale; this._safeNameEduSchool = _safeNameEduSchool; this._safeNameEduLocCountryRegion = _safeNameEduLocCountryRegion; this._safeNameEduLocState = _safeNameEduLocState; this._safeNameEduLocCity = _safeNameEduLocCity; }
public static void Update(System.Int64?tcTeacherSyllabusID, System.Int64?tcTeacherID, System.Int64?tcSyllabusID, System.String tcDescription, System.DateTime?tcStartDate, System.DateTime?tcEndDate, System.String tcpcpStatus, System.Int32?tcStatus, DbTransaction transaction) { DataSet ds; Database db; string sqlCommand; DbCommand dbCommand; db = DatabaseFactory.CreateDatabase(); sqlCommand = "[dbo].gspTMSTeacherCourceSyllabus_UPDATE"; dbCommand = db.GetStoredProcCommand(sqlCommand); db.DiscoverParameters(dbCommand); dbCommand.Parameters["@tcTeacherSyllabusID"].Value = tcTeacherSyllabusID; dbCommand.Parameters["@tcTeacherID"].Value = tcTeacherID; dbCommand.Parameters["@tcSyllabusID"].Value = tcSyllabusID; dbCommand.Parameters["@tcDescription"].Value = tcDescription; dbCommand.Parameters["@tcStartDate"].Value = tcStartDate; dbCommand.Parameters["@tcEndDate"].Value = tcEndDate; dbCommand.Parameters["@tcpcpStatus"].Value = tcpcpStatus; dbCommand.Parameters["@tcStatus"].Value = tcStatus; if (transaction == null) { db.ExecuteNonQuery(dbCommand); } else { db.ExecuteNonQuery(dbCommand, transaction); } return; }
public SharingNode(Microsoft.Samples.FeedSync.Feed i_Feed, System.Xml.XmlElement i_SharingXmlElement) { m_Feed = i_Feed; m_XmlElement = i_SharingXmlElement; if (m_XmlElement.HasAttribute(Microsoft.Samples.FeedSync.Constants.SINCE_ATTRIBUTE)) m_Since = m_XmlElement.GetAttribute(Microsoft.Samples.FeedSync.Constants.SINCE_ATTRIBUTE); if (m_XmlElement.HasAttribute(Microsoft.Samples.FeedSync.Constants.UNTIL_ATTRIBUTE)) m_Until = m_XmlElement.GetAttribute(Microsoft.Samples.FeedSync.Constants.SINCE_ATTRIBUTE); if (m_XmlElement.HasAttribute(Microsoft.Samples.FeedSync.Constants.EXPIRES_ATTRIBUTE)) { string Expires = m_XmlElement.GetAttribute(Microsoft.Samples.FeedSync.Constants.EXPIRES_ATTRIBUTE); System.DateTime ExpiresDateTime; if (System.DateTime.TryParse(Expires, out ExpiresDateTime)) m_Expires = ExpiresDateTime; } string XPathQuery = System.String.Format ( "{0}:{1}", m_Feed.FeedSyncNamespacePrefix, Microsoft.Samples.FeedSync.Constants.RELATED_ELEMENT_NAME ); System.Xml.XmlNodeList RelatedNodeList = i_SharingXmlElement.SelectNodes ( XPathQuery, m_Feed.XmlNamespaceManager ); foreach (System.Xml.XmlElement RelatedNodeXmlElement in RelatedNodeList) { Microsoft.Samples.FeedSync.RelatedNode RelatedNode = Microsoft.Samples.FeedSync.RelatedNode.CreateFromXmlElement ( this, RelatedNodeXmlElement ); m_RelatedNodeList.Add(RelatedNode); } }
public static void Update(System.Int64?tcTeacherSyllabusID, System.Int64?tcTeacherID, System.Int64?tcSyllabusID, System.String tcDescription, System.DateTime?tcStartDate, System.DateTime?tcEndDate, System.String tcpcpStatus, System.Int32?tcStatus) { Update(tcTeacherSyllabusID, tcTeacherID, tcSyllabusID, tcDescription, tcStartDate, tcEndDate, tcpcpStatus, tcStatus, null); }
internal void Finalizar(System.DateTime? FechaFinal) { _DIA_HORA_Final = FechaFinal; CalcularValoresFinales(); }
public static TMSTeacherCourceSyllabus[] Search(System.Int64?tcTeacherSyllabusID, System.Int64?tcTeacherID, System.Int64?tcSyllabusID, System.String tcDescription, System.DateTime?tcStartDate, System.DateTime?tcEndDate, System.String tcpcpStatus, System.Int32?tcStatus) { DataSet ds; Database db; string sqlCommand; DbCommand dbCommand; db = DatabaseFactory.CreateDatabase(); sqlCommand = "[dbo].gspTMSTeacherCourceSyllabus_SEARCH"; dbCommand = db.GetStoredProcCommand(sqlCommand, tcTeacherSyllabusID, tcTeacherID, tcSyllabusID, tcDescription, tcStartDate, tcEndDate, tcpcpStatus, tcStatus); ds = db.ExecuteDataSet(dbCommand); ds.Tables[0].TableName = TABLE_NAME; return(TMSTeacherCourceSyllabus.MapFrom(ds)); }
public Orders(int OrderID, string CustomerID, int? EmployeeID, System.DateTime? OrderDate, System.DateTime? RequiredDate, System.DateTime? ShippedDate, int? ShipVia, decimal? Freight, string ShipName, string ShipAddress, string ShipCity, string ShipRegion, string ShipPostalCode, string ShipCountry) { this._OrderID = OrderID; this._CustomerID = CustomerID; this._EmployeeID = EmployeeID; this._OrderDate = OrderDate; this._RequiredDate = RequiredDate; this._ShippedDate = ShippedDate; this._ShipVia = ShipVia; this._Freight = Freight; this._ShipName = ShipName; this._ShipAddress = ShipAddress; this._ShipCity = ShipCity; this._ShipRegion = ShipRegion; this._ShipPostalCode = ShipPostalCode; this._ShipCountry = ShipCountry; }
/// <summary> /// Methods _getPDDParameter Represent Parameter PDD in CodeGeneratingInfo Table /// <param name="pParameterDirection">Specifies the type of a parameter</param> /// </summary> private DbParameter _getPDDParameterFrom(System.DateTime?PDDFrom, ParameterDirection pParameterDirection) { return(CreateParameter("PDDFrom", PDDFrom, DbType.DateTime, pParameterDirection, 23, 3)); }
internal void _fromJSON(com.sybase.afx.json.JsonObject _json) { __level = (_json.GetInt("level")); __code = (_json.GetInt("code")); __eisCode = (_json.GetNullableString("eisCode")); __message = (_json.GetNullableString("message")); __component = (_json.GetNullableString("component")); __entityKey = (_json.GetNullableString("entityKey")); __operation = (_json.GetNullableString("operation")); __requestId = (_json.GetNullableString("requestId")); __timestamp = (_json.GetNullableDateTime("timestamp")); __pending = (_json.GetBoolean("pending")); __pendingChange = (_json.GetChar("pendingChange")); __replayPending = (_json.GetLong("replayPending")); __replayFailure = (_json.GetLong("replayFailure")); __messageId = (_json.GetLong("messageId")); __replayCounter = (_json.GetLong("_rc")); __disableSubmit = (_json.GetBoolean("disableSubmit")); char op_2 = _json.GetChar("_op"); _isNew = (op_2 == 'C'); _isDirty = (op_2 == 'U'); _isDeleted = (op_2 == 'D'); }
/// <summary> /// Methods _getPDDParameter Represent Parameter PDD in CodeGeneratingInfo Table /// <param name="pParameterDirection">Specifies the type of a parameter</param> /// </summary> private DbParameter _getPDDParameterTo(System.DateTime?PDDTo, ParameterDirection pParameterDirection) { return(CreateParameter("PDDTo", PDDTo, DbType.DateTime, pParameterDirection, 23, 3)); }
protected override void Bind(Sybase.Persistence.ConnectionProfile profile, System.Data.IDataReader rs) { this.__level = com.sybase.afx.db.ReaderUtil.GetInt(profile,rs,"level",0); this.__code = com.sybase.afx.db.ReaderUtil.GetInt(profile,rs,"code",1); this.__eisCode = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"eisCode",2); this.__message = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"message",3); this.__component = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"component",4); this.__entityKey = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"entityKey",5); this.__operation = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"operation",6); this.__requestId = com.sybase.afx.db.ReaderUtil.GetNullableStringUL(profile,rs,"requestId",7); this.__timestamp = com.sybase.afx.db.ReaderUtil.GetNullableDateTime(profile,rs,"timestamp",8); this.__pending = com.sybase.afx.db.ReaderUtil.GetBoolean(profile,rs,"pending",9); this.__pendingChange = com.sybase.afx.db.ReaderUtil.GetChar(profile,rs,"pendingChange",10); this.__replayPending = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"replayPending",11); this.__replayFailure = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"replayFailure",12); this.__messageId = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"messageId",13); this.__replayCounter = com.sybase.afx.db.ReaderUtil.GetLong(profile,rs,"replayCounter",14); this.__disableSubmit = com.sybase.afx.db.ReaderUtil.GetBoolean(profile,rs,"disableSubmit",15); _isNew = false; _isDirty = false; if (this.IsPending) { this.SetOriginalState(null); this.__originalStateValid = false; } else { YPF.Comercial.RRCC.SUP.LogRecordImpl os_1 = new YPF.Comercial.RRCC.SUP.LogRecordImpl(); os_1.CopyAll(this); this.SetOriginalState(os_1); } }
/// <summary> /// Methods _getcreationDateParameter Represent Parameter creationDate in CodeGeneratingInfo Table /// <param name="pParameterDirection">Specifies the type of a parameter</param> /// </summary> private DbParameter _getcreationDateParameterFrom(System.DateTime?creationDateFrom, ParameterDirection pParameterDirection) { return(CreateParameter("creationDateFrom", creationDateFrom, DbType.DateTime, pParameterDirection, 23, 3)); }
/// <summary> /// copy the MBO attributes to current MBO /// </summary> public void CopyAll(YPF.Comercial.RRCC.SUP.ClienteDetallePedido entity) { this._isNew = entity._isNew; this.__pedido_CodigoSAP = entity.__pedido_CodigoSAP; this.__pedido_Cuenta = entity.__pedido_Cuenta; this.__pedido_Estado_CodigoSAP = entity.__pedido_Estado_CodigoSAP; this.__pedido_direccionEntrega = entity.__pedido_direccionEntrega; this.__pedido_FechaCreacion = entity.__pedido_FechaCreacion; this.__pedido_HoraCreacion = entity.__pedido_HoraCreacion; this.__pedido_FechaAprobacion = entity.__pedido_FechaAprobacion; this.__pedido_HoraAprobacion = entity.__pedido_HoraAprobacion; this.__pedido_ImporteTotal = entity.__pedido_ImporteTotal; this.__pedido_ImporteFacturado = entity.__pedido_ImporteFacturado; this.__producto_CodigoSAP = entity.__producto_CodigoSAP; this.__producto_Estado_CodigoSAP = entity.__producto_Estado_CodigoSAP; this.__producto_Terminal_CodigoSAP = entity.__producto_Terminal_CodigoSAP; this.__producto_VolumenTotal = entity.__producto_VolumenTotal; this.__producto_VolumenPendiente = entity.__producto_VolumenPendiente; this.__producto_VolumenDespachado = entity.__producto_VolumenDespachado; this.__producto_UnidadMedida = entity.__producto_UnidadMedida; this.__producto_ImporteTotal = entity.__producto_ImporteTotal; this.__entrega_CodigoSAP = entity.__entrega_CodigoSAP; this.__entrega_NumeroRemito = entity.__entrega_NumeroRemito; this.__entrega_Estado_CodigoSAP = entity.__entrega_Estado_CodigoSAP; this.__entrega_Patente = entity.__entrega_Patente; this.__entrega_EstadoTransporte_CodigoSAP = entity.__entrega_EstadoTransporte_CodigoSAP; this.__entrega_FechaPlanificada = entity.__entrega_FechaPlanificada; this.__entrega_FechaCarga = entity.__entrega_FechaCarga; this.__entrega_FechaInicio = entity.__entrega_FechaInicio; this.__pending = entity.__pending; this.__pendingChange = entity.__pendingChange; this.__replayPending = entity.__replayPending; this.__replayFailure = entity.__replayFailure; this.__surrogateKey = entity.SurrogateKey; this.__replayCounter = entity.__replayCounter; this.__disableSubmit = entity.__disableSubmit; }
/// <summary> /// Methods _getapprovalDateParameter Represent Parameter approvalDate in CodeGeneratingInfo Table /// <param name="pParameterDirection">Specifies the type of a parameter</param> /// </summary> private DbParameter _getapprovalDateParameterTo(System.DateTime?approvalDateTo, ParameterDirection pParameterDirection) { return(CreateParameter("approvalDateTo", approvalDateTo, DbType.DateTime, pParameterDirection, 23, 3)); }
///<summary> /// Creates a new <see cref="VIndividualDemographicsBase"/> instance. ///</summary> ///<param name="_customerId"></param> ///<param name="_totalPurchaseYtd"></param> ///<param name="_dateFirstPurchase"></param> ///<param name="_birthDate"></param> ///<param name="_maritalStatus"></param> ///<param name="_yearlyIncome"></param> ///<param name="_gender"></param> ///<param name="_totalChildren"></param> ///<param name="_numberChildrenAtHome"></param> ///<param name="_education"></param> ///<param name="_occupation"></param> ///<param name="_homeOwnerFlag"></param> ///<param name="_numberCarsOwned"></param> public VIndividualDemographicsBase(System.Int32 _customerId, System.Decimal? _totalPurchaseYtd, System.DateTime? _dateFirstPurchase, System.DateTime? _birthDate, System.String _maritalStatus, System.String _yearlyIncome, System.String _gender, System.Int32? _totalChildren, System.Int32? _numberChildrenAtHome, System.String _education, System.String _occupation, System.Boolean? _homeOwnerFlag, System.Int32? _numberCarsOwned) { this._customerId = _customerId; this._totalPurchaseYtd = _totalPurchaseYtd; this._dateFirstPurchase = _dateFirstPurchase; this._birthDate = _birthDate; this._maritalStatus = _maritalStatus; this._yearlyIncome = _yearlyIncome; this._gender = _gender; this._totalChildren = _totalChildren; this._numberChildrenAtHome = _numberChildrenAtHome; this._education = _education; this._occupation = _occupation; this._homeOwnerFlag = _homeOwnerFlag; this._numberCarsOwned = _numberCarsOwned; }
/// <summary> /// Methods _getreceiveDateParameter Represent Parameter receiveDate in CodeGeneratingInfo Table /// <param name="pParameterDirection">Specifies the type of a parameter</param> /// </summary> private DbParameter _getreceiveDateParameterFrom(System.DateTime?receiveDateFrom, ParameterDirection pParameterDirection) { return(CreateParameter("receiveDateFrom", receiveDateFrom, DbType.DateTime, pParameterDirection, 23, 3)); }