/// <summary> /// 从数据行读取 /// </summary> /// <param name="dataRow">数据行</param> public override void GetFromExpand(IDataRow dr) { if (dr.ContainsColumn(BaseOrganizeEntity.FieldWeightRatio)) { StatisticalName = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldStatisticalName]); WeightRatio = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeEntity.FieldWeightRatio]); SendAir = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeEntity.FieldSendAir]); CalculateComeFee = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeEntity.FieldCalculateComeFee]); CalculateReceiveFee = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeEntity.FieldCalculateReceiveFee]); BillBalanceSite = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldBillBalanceSite]); LevelTwoTransferCenter = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldLevelTwoTransferCenter]); ProvinceSite = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldProvinceSite]); BigArea = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldBigArea]); SendFee = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeEntity.FieldSendFee]); LevelTwoTransferFee = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeEntity.FieldLevelTwoTransferFee]); BillSubsidy = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeEntity.FieldBillSubsidy]); Master = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldMaster]); MasterMobile = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldMasterMobile]); MasterQQ = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldMasterQQ]); Manager = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldManager]); ManagerMobile = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldManagerMobile]); ManagerQQ = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldManagerQQ]); EmergencyCall = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldEmergencyCall]); BusinessPhone = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeEntity.FieldBusinessPhone]); IsCheckBalance = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeEntity.FieldIsCheckBalance]); } }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { Id = BaseBusinessLogic.ConvertToDecimal(dr[BaseOrganizeExpressEntity.FieldID]); NotDispatchRange = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldNotDispatchRange]); ScanSelect = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldScanSelect]); SitePrior = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldSitePrior]); ModifiedUserId = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldModifiedUserId]); PrivateRemark = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldPrivateRemark]); PublicRemark = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldPublicRemark]); DispatchTimeLimit = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldDispatchTimeLimit]); AgentMoneyLimited = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldAgentMoneyLimited]); CreateBy = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldCreateBy]); DefaultSendPlace = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldDefaultSendPlace]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseOrganizeExpressEntity.FieldCreateOn]); DispatchRange = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldDispatchRange]); AllowToPayment = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldAllowToPayment]); CreateUserId = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldCreateUserId]); AllowAgentMoney = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldAllowAgentMoney]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseOrganizeExpressEntity.FieldModifiedOn]); DispatchOutRangeFee = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldDispatchOutRangeFee]); Currency = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldCurrency]); DispatchRangeFee = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldDispatchRangeFee]); ModifiedBy = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldModifiedBy]); DispatchMoneyDesc = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldDispatchMoneyDesc]); WebSiteName = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldWebSiteName]); WebEnabled = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldWebEnabled]); InternalDispatch = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeExpressEntity.FieldInternalDispatch]); IsTransferCenter = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeExpressEntity.FieldIsTransferCenter]); IsErpOpen = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeExpressEntity.FieldIsErpOpen]); IsReceiveOrder = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeExpressEntity.FieldIsReceiveOrder]); IsReceiveComplain = BaseBusinessLogic.ConvertToInt(dr[BaseOrganizeExpressEntity.FieldIsReceiveComplain]); // 获取扩展属性 GetFromExpand(dr); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { GetFromExpand(dr); Id = BaseBusinessLogic.ConvertToDecimal(dr[BaseOrganize_ExpressEntity.FieldID]); Not_Dispatch_Range = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldNot_Dispatch_Range]); Scan_Select = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldScan_Select]); Site_Prior = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldSite_Prior]); ModifiedUserId = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldModifiedUserId]); Private_Remark = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldPrivate_Remark]); Public_Remark = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldPublic_Remark]); Dispatch_Time_Limit = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldDispatch_Time_Limit]); Agent_Money_Limited = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldAgent_Money_Limited]); CreateBy = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldCreateBy]); Default_Send_Place = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldDefault_Send_Place]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseOrganize_ExpressEntity.FieldCreateOn]); Dispatch_Range = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldDispatch_Range]); Allow_ToPayment = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldAllow_ToPayment]); CreateUserId = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldCreateUserId]); Allow_Agent_Money = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldAllow_Agent_Money]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseOrganize_ExpressEntity.FieldModifiedOn]); Dispatch_OutRange_Fee = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldDispatch_OutRange_Fee]); Currency = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldCurrency]); Dispatch_Range_Fee = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganize_ExpressEntity.FieldDispatch_Range_Fee]); ModifiedBy = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldModifiedBy]); Dispatch_Money_Desc = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldDispatch_Money_Desc]); WebSiteName = BaseBusinessLogic.ConvertToString(dr[BaseOrganize_ExpressEntity.FieldWebSiteName]); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { Id = BaseBusinessLogic.ConvertToDecimal(dr[BaseUserLogonExtendEntity.FieldId]); EmailRemind = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldEmailRemind]); QrCodeLogon = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldQrCodeLogon]); JixinRemind = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldJixinRemind]); WechatRemind = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldWechatRemind]); DynamicCodeLogon = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldDynamicCodeLogon]); MobileRemind = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldMobileRemind]); UsernamePasswordLogon = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserLogonExtendEntity.FieldUsernamePasswordLogon]); // 获取扩展属性 GetFromExpand(dr); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { GetFromExpand(dr); ID = BaseBusinessLogic.ConvertToDecimal(dr[BaseStaff_ExpressEntity.FieldID]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseStaff_ExpressEntity.FieldModifiedOn]); TRANSFER_ADD_FEE = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseStaff_ExpressEntity.FieldTRANSFER_ADD_FEE]); OWNER_RANGE = BaseBusinessLogic.ConvertToString(dr[BaseStaff_ExpressEntity.FieldOWNER_RANGE]); ModifiedUserId = BaseBusinessLogic.ConvertToString(dr[BaseStaff_ExpressEntity.FieldModifiedUserId]); DISPATCH_ADD_FEE = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseStaff_ExpressEntity.FieldDISPATCH_ADD_FEE]); ModifiedBy = BaseBusinessLogic.ConvertToString(dr[BaseStaff_ExpressEntity.FieldModifiedBy]); CreateBy = BaseBusinessLogic.ConvertToString(dr[BaseStaff_ExpressEntity.FieldCreateBy]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseStaff_ExpressEntity.FieldCreateOn]); CreateUserId = BaseBusinessLogic.ConvertToString(dr[BaseStaff_ExpressEntity.FieldCreateUserId]); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { Id = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldId]); BillCode = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldBillCode]); PushCategory = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldPushCategory]); PushTarget = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldPushTarget]); PushTime = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldPushTime]); SubscriptionCategory = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseBillPushEntity.FieldSubscriptionCategory]); SubscriptionSource = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldSubscriptionSource]); SubscriptionStatus = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseBillPushEntity.FieldSubscriptionStatus]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseBillPushEntity.FieldCreateOn]); CreateBy = BaseBusinessLogic.ConvertToString(dr[BaseBillPushEntity.FieldCreateBy]); // 获取扩展属性 GetFromExpand(dr); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { GetFromExpand(dr); Id = BaseBusinessLogic.ConvertToDecimal(dr[BaseTemplateEntity.FieldId]); ExpressId = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseTemplateEntity.FieldExpressId]); CreateUserName = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldCreateUserName]); ModifiedUserName = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldModifiedUserName]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseTemplateEntity.FieldCreateOn]); Length = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldLength]); Remark = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldRemark]); Name = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldName]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseTemplateEntity.FieldModifiedOn]); BackgroundImagePath = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldBackgroundImagePath]); Width = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldWidth]); Layer = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldLayer]); FilePath = BaseBusinessLogic.ConvertToString(dr[BaseTemplateEntity.FieldFilePath]); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { Id = BaseBusinessLogic.ConvertToDecimal(dr[BaseOrganizeGisEntity.FieldId]); Latitude = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldLatitude]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseOrganizeGisEntity.FieldModifiedOn]); ModifiedUserId = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldModifiedUserId]); RegionLabelEnable = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeGisEntity.FieldRegionLabelEnable]); Address = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldAddress]); WebShowEnable = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseOrganizeGisEntity.FieldWebShowEnable]); Longitude = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldLongitude]); ModifiedBy = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldModifiedBy]); CreateBy = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldCreateBy]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseOrganizeGisEntity.FieldCreateOn]); CreateUserId = BaseBusinessLogic.ConvertToString(dr[BaseOrganizeGisEntity.FieldCreateUserId]); // 获取扩展属性 GetFromExpand(dr); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { GetFromExpand(dr); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseUserIdentityAuditEntity.FieldModifiedOn]); IdcardPhotoHand = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldIdcardPhotoHand]); OrganizeFullname = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldOrganizeFullname]); CreateOn = BaseBusinessLogic.ConvertToDateTime(dr[BaseUserIdentityAuditEntity.FieldCreateOn]); AuditDate = BaseBusinessLogic.ConvertToNullableDateTime(dr[BaseUserIdentityAuditEntity.FieldAuditDate]); AuditStatus = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldAuditStatus]); InterfaceDayLimit = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserIdentityAuditEntity.FieldInterfaceDayLimit]); NickName = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldNickName]); UserRealName = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldUserRealName]); Idcard = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldIdcard]); AuditUserId = BaseBusinessLogic.ConvertToNullableDecimal(dr[BaseUserIdentityAuditEntity.FieldAuditUserId]); Id = BaseBusinessLogic.ConvertToDecimal(dr[BaseUserIdentityAuditEntity.FieldId]); AuditIdea = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldAuditIdea]); AuditUserRealName = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldAuditUserRealName]); OrganizeId = BaseBusinessLogic.ConvertToDecimal(dr[BaseUserIdentityAuditEntity.FieldOrganizeId]); AuditUserNickName = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldAuditUserNickName]); IdcardPhotoFront = BaseBusinessLogic.ConvertToString(dr[BaseUserIdentityAuditEntity.FieldIdcardPhotoFront]); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dataRow">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { GetFromExpand(dr); UserId = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldUserId]); FullName = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldFullName]); Salary = BaseBusinessLogic.ConvertToNullableDecimal(dr[UserByGUIDEntity.FieldSalary]); Age = BaseBusinessLogic.ConvertToNullableInt(dr[UserByGUIDEntity.FieldAge]); Birthday = BaseBusinessLogic.ConvertToNullableDateTime(dr[UserByGUIDEntity.FieldBirthday]); Photo = BaseBusinessLogic.ConvertToByte(dr[UserByGUIDEntity.FieldPhoto]); AllowEdit = BaseBusinessLogic.ConvertToNullableInt(dr[UserByGUIDEntity.FieldAllowEdit]); AllowDelete = BaseBusinessLogic.ConvertToNullableInt(dr[UserByGUIDEntity.FieldAllowDelete]); Enabled = BaseBusinessLogic.ConvertToInt(dr[UserByGUIDEntity.FieldEnabled]); DeletionStateCode = BaseBusinessLogic.ConvertToNullableInt(dr[UserByGUIDEntity.FieldDeletionStateCode]); SortCode = BaseBusinessLogic.ConvertToInt(dr[UserByGUIDEntity.FieldSortCode]); Description = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldDescription]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[UserByGUIDEntity.FieldCreateOn]); CreateUserId = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldCreateUserId]); CreateBy = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldCreateBy]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[UserByGUIDEntity.FieldModifiedOn]); ModifiedUserId = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldModifiedUserId]); ModifiedBy = BaseBusinessLogic.ConvertToString(dr[UserByGUIDEntity.FieldModifiedBy]); return(this); }
/// <summary> /// 从数据行读取 /// </summary> /// <param name="dr">数据行</param> protected override BaseEntity GetFrom(IDataRow dr) { GetFromExpand(dr); Id = BaseBusinessLogic.ConvertToDecimal(dr[ItemsSystemEntity.FieldId]); ParentId = BaseBusinessLogic.ConvertToNullableDecimal(dr[ItemsSystemEntity.FieldParentId]); Description = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldDescription]); Enabled = BaseBusinessLogic.ConvertToDecimal(dr[ItemsSystemEntity.FieldEnabled]); ModifiedUserId = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldModifiedUserId]); SortCode = BaseBusinessLogic.ConvertToNullableDecimal(dr[ItemsSystemEntity.FieldSortCode]); Ispublic = BaseBusinessLogic.ConvertToDecimal(dr[ItemsSystemEntity.FieldIspublic]); CreateBy = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldCreateby]); CreateOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[ItemsSystemEntity.FieldCreateon]); ItemValue = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldItemValue]); CreateUserId = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldCreateUserId]); Logonurl = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldLogonUrl]); AllowDelete = BaseBusinessLogic.ConvertToDecimal(dr[ItemsSystemEntity.FieldAllowDelete]); ModifiedOn = BaseBusinessLogic.ConvertToNullableDateTime(dr[ItemsSystemEntity.FieldModifiedOn]); itemName = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldItemName]); AllowEdit = BaseBusinessLogic.ConvertToDecimal(dr[ItemsSystemEntity.FieldAllowEdit]); ModifiedBy = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldModifiedBy]); itemCode = BaseBusinessLogic.ConvertToString(dr[ItemsSystemEntity.FieldItemCode]); DeletionStateCode = BaseBusinessLogic.ConvertToNullableDecimal(dr[ItemsSystemEntity.FieldDeletionStateCode]); return(this); }