本文整理汇总了C#中CSS2.Models.SafeDataReader.GetInt32方法的典型用法代码示例。如果您正苦于以下问题:C# SafeDataReader.GetInt32方法的具体用法?C# SafeDataReader.GetInt32怎么用?C# SafeDataReader.GetInt32使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CSS2.Models.SafeDataReader
的用法示例。
在下文中一共展示了SafeDataReader.GetInt32方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FetchDIActionRules
public DIActionRules FetchDIActionRules(DIActionRules Di, SafeDataReader dr)
{
Di.DIID = dr.GetInt32("DIID");
Di.ForState = dr.GetString("ForState");
Di.DO = dr.GetInt32("do");
Di.UNDO = dr.GetInt32("undo");
return Di;
}
示例2: FetchUnMatchedVendorDetails
private Vendor FetchUnMatchedVendorDetails(Vendor vendor, SafeDataReader dr)
{
vendor.Date = dr.GetString("TransactionDate");
vendor.UsedBy = dr.GetString("UsedBy");
vendor.Description = dr.GetString("Description");
vendor.VenderReferenceID = dr.GetString("VENDORREF");
vendor.VendorAmount = dr.GetDecimal("VENDORAMOUNT");
vendor.VRID = dr.GetInt32("VRID");
vendor.VRDID = dr.GetInt32("VRDID");
return vendor;
}
示例3: FetchWODuplicateShareHoldersDetails
private WODuplicateDetails FetchWODuplicateShareHoldersDetails(WODuplicateDetails WODuplicateDetails, SafeDataReader dr)
{
WODuplicateDetails.ID = dr.GetInt32("ID");
WODuplicateDetails.Name = dr.GetString("Name");
WODuplicateDetails.CertNo = dr.GetString("CertNo");
WODuplicateDetails.NoofShares = dr.GetString("NoofShares");
//if NULL Displaying as "" in UI
WODuplicateDetails.DateOfIssue = dr.GetDateTime("DateOfIssue") == default(DateTime) ? string.Empty : dr.GetDateTime("DateOfIssue").ToString("dd/MM/yy");
WODuplicateDetails.NoOfNewCertToBeIssued = dr.GetInt32("NoOfNewCertToBeIssued");
return WODuplicateDetails;
}
示例4: FetchMatchedVendorDetails
private Vendor FetchMatchedVendorDetails(Vendor vendor, SafeDataReader dr)
{
vendor.VenderReferenceID = dr.GetString("VENDORREF");
vendor.VendorAmount = dr.GetDecimal("VENDORAMOUNT");
vendor.DI = dr.GetString("DI");
vendor.DIRef = dr.GetString("DIREF");
vendor.DIAmount = dr.GetDecimal("DIAMOUNT");
vendor.IsBilled = dr.GetBoolean("BILLED");
vendor.Type = dr.GetString("TYPE");
vendor.IsVerified = dr.GetBoolean("ISVERIFIED");
vendor.VRID = dr.GetInt32("VRID");
vendor.VRDID = dr.GetInt32("VRDID");
vendor.ItemCode = dr.GetString("ItemCode");
vendor.ItemNumber = dr.GetString("ItemNumber");
vendor.WOCode = dr.GetString("WOCode");
vendor.InvoiceNumber = dr.GetString("InvoiceNumber");
vendor.ClientName = dr.GetString("ClientName");
vendor.Date = dr.GetString("DATE");
vendor.UsedBy = dr.GetString("SIC");
vendor.GroupName = dr.GetString("GroupName");
return vendor;
}
示例5: FetchService
private Vendor FetchService(Vendor vendor, SafeDataReader dr)
{
vendor.Type = dr.GetString("Type");
vendor.UploadedOn = dr.GetString("UploadedOn");
vendor.Username = dr.GetString("Name");
vendor.VRID = dr.GetInt32("VRID");
vendor.Name = dr.GetString("FileName");
return vendor;
}
示例6: FetchTemplateFileDetails
private TemplateMapping FetchTemplateFileDetails(TemplateMapping TMapping, SafeDataReader dr)
{
TMapping.SetID = dr.GetInt32("SetID");
TMapping.SetName = dr.GetString("SetName");
TMapping.FileName = dr.GetString("FileName");
TMapping.FileID = dr.GetInt32("FileID");
TMapping.FileFullName = dr.GetString("FileFullName");
TMapping.FilePath = dr.GetString("FilePath");
TMapping.TFileStatus = dr.GetBoolean("TFileStatus");
TMapping.Description = dr.GetString("Description");
TMapping.IsDefault = dr.GetString("IsDefault");
TMapping.IsMultiple = dr.GetString("IsMultiple");
TMapping.MultipleEntity = dr.GetString("MultipleEntity");
TMapping.SetDescription = dr.GetString("SetDescription");
TMapping.SetStatus = dr.GetBoolean("SetStatus");
return TMapping;
}
示例7: FetchClientInfo
private _ChoosenClient FetchClientInfo(_ChoosenClient getClientInfo, SafeDataReader dr)
{
getClientInfo.ClientCode = dr.GetString("ID");
getClientInfo.ClientName = dr.GetString("Name");
getClientInfo.SourceID = dr.GetString("SourceCode");
getClientInfo.UniqueID = dr.GetInt32("UniqueID");
return getClientInfo;
}
示例8: FetchWOAGMDetails
private AGMDetails FetchWOAGMDetails(AGMDetails AGMDetails, SafeDataReader dr)
{
AGMDetails.ID = dr.GetInt32("ID");
AGMDetails.WOIDForWoAGM = dr.GetString("WOID");
AGMDetails.ROPlaceOfAGM = dr.GetBoolean("ROPlaceofAGM");
AGMDetails.DateOfAGM = dr.GetDateTime("DateofAGM").ToString("dd/MM/yyyy") == "01/01/0001" ? "" : dr.GetDateTime("DateofAGM").ToString("dd/MM/yyyy");
AGMDetails.TimeOfAGM = dr.GetString("TimeofAGM");
AGMDetails.FinancialYearEnd = dr.GetDateTime("FinancialYearEnd").ToString("dd/MM/yyyy") == "01/01/0001" ? "" : dr.GetDateTime("FinancialYearEnd").ToString("dd/MM/yyyy");
AGMDetails.DateOfFinancialStatement = dr.GetDateTime("DateofFinancialStatement").ToString("dd/MM/yyyy") == "01/01/0001" ? "" : dr.GetDateTime("DateofFinancialStatement").ToString("dd/MM/yyyy");
AGMDetails.IsAuditor = dr.GetBoolean("IsAuditor");
AGMDetails.Auditors = dr.GetInt32("Auditors");
AGMDetails.ShareHoldingStructure = dr.GetInt32("ShareHoldingStructure");
AGMDetails.IsDirectorsFeeAmount = dr.GetBoolean("IsDirectorsFeeAmount");
AGMDetails.DirectorFeeAmount = dr.GetString("DirectorFeeAmount");
AGMDetails.DirectorCurrency = dr.GetInt32("DirectorCurrency");
AGMDetails.IsRemunerationAmount = dr.GetBoolean("IsRemunerationAmount");
AGMDetails.RemunerationAmount = dr.GetString("RemunerationAmount");
AGMDetails.RemunerationCurrency = dr.GetInt32("RemunerationCurrency");
AGMDetails.MeetingNotice = dr.GetString("MeetingNotice");
AGMDetails.MeetingNoticeSource = dr.GetString("MeetingNoticeSource");
AGMDetails.MeetingMinutes = dr.GetString("MeetingMinutes");
AGMDetails.MeetingMinutesSource = dr.GetString("MeetingMinutesSource");
AGMDetails.OtherMeetingMinutes = dr.GetString("OtherMeetingMinutes");
AGMDetails.DesignationofPersonSigningAGM = dr.GetString("DesignationofPersonSigningAGM");
AGMDetails.S197Certificate = dr.GetString("S197Certificate");
AGMDetails.S197CertificateSource = dr.GetString("S197CertificateSource");
AGMDetails.IsS161toIssueShares = dr.GetBoolean("IsS161toIssueShares");
AGMDetails.S161NoticeofResolution = dr.GetString("S161NoticeofResolution");
AGMDetails.S161NoticeofResolutionSource = dr.GetString("S161NoticeofResolutionSource");
AGMDetails.DividentVoucher = dr.GetString("DividentVoucher");
AGMDetails.DividentVoucherSource = dr.GetString("DividentVoucherSource");
AGMDetails.IsDirectorsdueforRetirement = dr.GetBoolean("IsDirectorsdueforRetirement");
AGMDetails.IsDividend = dr.GetBoolean("IsDividend");
AGMDetails.Dividendpershare = dr.GetString("Dividendpershare");
AGMDetails.DividendCurrency = dr.GetInt32("DividendCurrency");
AGMDetails.TotalNetAmountofDividend = dr.GetString("TotalNetAmountofDividend");
AGMDetails.TotalNoOfShares = dr.GetString("TotalNoOfShares");
AGMDetails.ApprovalFS = dr.GetBoolean("IsApprovalFS");
AGMDetails.MeetingAddressLine1 = dr.GetString("MeetingAddressLine1");
AGMDetails.MeetingAddressLine2 = dr.GetString("MeetingAddressLine2");
AGMDetails.MeetingAddressLine3 = dr.GetString("MeetingAddressLine3");
AGMDetails.MeetingAddressCountry = dr.GetInt32("MeetingAddressCountry");
AGMDetails.MeetingAddressPostalCode = dr.GetString("MeetingAddressPostalCode");
return AGMDetails;
}
示例9: CessationDirectors
private Cessionofficers CessationDirectors(Cessionofficers Directors, SafeDataReader dr)
{
Directors.ID = dr.GetInt32("ID");
Directors.Name = dr.GetString("Name");
Directors.SourceCode = dr.GetString("SourceCode");
return Directors;
}
示例10: FetchDisbursementItemsByID
//Need to check
private DisbursementItem FetchDisbursementItemsByID(DisbursementItem SearchDisbursementItem, SafeDataReader dr)
{
SearchDisbursementItem.WorkOrderNumber = dr.GetString("WOCode").Trim();
SearchDisbursementItem.ClientNumber = dr.GetString("ClientName");
SearchDisbursementItem.ID = dr.GetInt32("ID");
SearchDisbursementItem.RefID = SearchDisbursementItem.ID;
SearchDisbursementItem.WOID = dr.GetInt32("WOID");
SearchDisbursementItem.Type = dr.GetString("DIType");
SearchDisbursementItem.Units = dr.GetInt32("Units");
SearchDisbursementItem.Code = dr.GetString("ItemCode");
SearchDisbursementItem.ItemNumber = dr.GetString("ItemNumber");
SearchDisbursementItem.Amount = dr.GetDecimal("Amount");
SearchDisbursementItem.Description = dr.GetString("Description");
SearchDisbursementItem.DateIncurred = dr.GetString("DateIncurred");
SearchDisbursementItem.VenderRefID = dr.GetString("VenderRefId");
SearchDisbursementItem.IsVerified = dr.GetBoolean("IsVerified");
SearchDisbursementItem.IsAdhoc = dr.GetBoolean("IsAdhoc");
SearchDisbursementItem.IsArchived = dr.GetBoolean("IsArchived");
SearchDisbursementItem.IsBilled = dr.GetBoolean("IsBilled");
SearchDisbursementItem.UnitPrice = dr.GetDecimal("UnitPrice");
SearchDisbursementItem.NeedVerification = dr.GetBoolean("NeedVerification");
SearchDisbursementItem.NoteCount = dr.GetInt32("NoteCount");
SearchDisbursementItem.NoteType = dr.GetString("NoteType");
SearchDisbursementItem.CreatedDate = dr.GetDateTime("CreatedDate").ToString("dd MMM yyyy hh:mm:ss tt");
SearchDisbursementItem.ACCPACStatus = dr.GetInt32("ACCPACStatus");
SearchDisbursementItem.ACCPACDescription = dr.GetString("ACCPACDescription");
SearchDisbursementItem.ACCPACExplanation = dr.GetString("Explaination");
SearchDisbursementItem.InvoiceNumber = dr.GetString("InvoiceNumber");
SearchDisbursementItem.IsMatched = dr.GetBoolean("IsMatched");
return SearchDisbursementItem;
}
示例11: FetchNotificationsWOType
public Notifications FetchNotificationsWOType(Notifications NotificationsBinding, SafeDataReader dr)
{
NotificationsBinding.Number = dr.GetInt32("Number");
NotificationsBinding.Type = dr.GetString("Type");
NotificationsBinding.href = dr.GetString("href");
return NotificationsBinding;
}
示例12: FetchDisbursementItems
private DisbursementItem FetchDisbursementItems(DisbursementItem disbursementItems, SafeDataReader dr)
{
disbursementItems.ID = dr.GetInt32("ID");
disbursementItems.WOID = dr.GetInt32("WOID");
disbursementItems.Amount = dr.GetDecimal("Amount");
disbursementItems.ItemCode = dr.GetString("ItemCode");
disbursementItems.Description = dr.GetString("Description");
disbursementItems.VenderRefID = dr.GetString("VenderRefId");
disbursementItems.Units = dr.GetInt32("Units");
disbursementItems.Code = dr.GetString("Code");
disbursementItems.Type = dr.GetString("DIType");
disbursementItems.IsBilled = dr.GetBoolean("IsBilled");
disbursementItems.IsAdhoc = dr.GetBoolean("IsAdhoc");
disbursementItems.IsArchived = dr.GetBoolean("IsArchived");
disbursementItems.IsVerified = dr.GetBoolean("IsVerified");
return disbursementItems;
}
示例13: FetchCurrencyType
private DisbursementItem FetchCurrencyType(DisbursementItem CurrencyType, SafeDataReader dr)
{
CurrencyType.ID = dr.GetInt32("ID");
CurrencyType.Code = dr.GetString("Code");
return CurrencyType;
}
示例14: FetchDIInstate
public DIInstate FetchDIInstate(DIInstate Di, SafeDataReader dr)
{
Di.DIID = dr.GetInt32("DIID");
Di.InState = dr.GetString("InState");
return Di;
}
示例15: FetchEGMChangeOfNameDetailsByWOID
private WOEGMChangeOfName FetchEGMChangeOfNameDetailsByWOID(WOEGMChangeOfName WOEGMChangeOfName, SafeDataReader dr)
{
WOEGMChangeOfName.WOID = dr.GetInt32("WOID");
WOEGMChangeOfName.NewName = dr.GetString("NewName");
WOEGMChangeOfName.ShareHoldingStructure = dr.GetInt32("ShareHoldingStructure");
WOEGMChangeOfName.IsROPlaceOfMeeting = dr.GetBoolean("IsROPlaceOfMeeting");
WOEGMChangeOfName.MAddressLine1 = dr.GetString("MeetingAddressLine1");
WOEGMChangeOfName.MAddressLine2 = dr.GetString("MeetingAddressLine2");
WOEGMChangeOfName.MAddressLine3 = dr.GetString("MeetingAddressLine3");
WOEGMChangeOfName.MAddressCountry = dr.GetInt32("MAddressCountry");
WOEGMChangeOfName.MAddressPostalCode = dr.GetString("MPostalCode");
WOEGMChangeOfName.MeetingMinutesSource = dr.GetString("MeetingMinutesSource");
WOEGMChangeOfName.MeetingNoticeSource = dr.GetString("MeetingNoticeSource");
WOEGMChangeOfName.MeetingNotice = dr.GetInt32("MeetingNotice");
WOEGMChangeOfName.MeetingMinutes = dr.GetInt32("MeetingMinutes");
WOEGMChangeOfName.OthersMeetingMinutes = dr.GetString("OthersMeetingMinutes");
WOEGMChangeOfName.Designation = dr.GetString("Designation");
WOEGMChangeOfName.NoticeResolutionSource = dr.GetString("NoticeResolutionSource");
WOEGMChangeOfName.NoticeResolution = dr.GetInt32("NoticeResolution");
return WOEGMChangeOfName;
}