C# 클래스 AIMS_BD_IATI.DAL.AimsDAL

파일 보기 프로젝트 열기: BD-IATI/edi 1 사용 예제들

공개 메소드들

메소드 설명
CreateNewExecutingAgency ( participatingorg org, string userId ) : ExecutingAgencyLookupItem
GetAIMSProjectInIATIFormat ( int projectId ) : iatiactivity
GetAIMSProjectsInIATIFormat ( string dp ) : List

Convert AIMS to IATI v2.x ref:http://iatistandard.org/202/activity-standard/iati-activities/iati-activity

GetAllFundSources ( ) : List

Get Managing DPs

GetExchangesRateToUSD ( string fromCurrencyISOcode, System.DateTime date = null ) : List
GetExecutingAgencies ( ) : List
GetExecutingAgencyTypes ( ) : List
GetFundSourceIDnIATICode ( string IatiCode ) : string
GetFundSources ( string userId ) : List
GetFundSources ( ) : List
GetMappedAIMSProjectsInIATIFormat ( string dp, List mappedProjectIds ) : List
GetNearestGeoLocation ( List geoLocations, location location ) : GeoLocation
GetNotMappedAIMSProjectsInIATIFormat ( string dp, List mappedProjectIds ) : List
GetProjects ( string dp ) : List
GetTrustFundDetails ( int trustFundId ) : TrustFundModel
GetTrustFunds ( string dp ) : List
UpdateCofinanceProjects ( List projects, string Iuser ) : int?
UpdateProjects ( List projects, string Iuser, bool notCleanOldData = true ) : int?
UpdateTrustFunds ( List TrustFundModels, string Iuser ) : int?

비공개 메소드들

메소드 설명
CheckTransactionMismatch ( tblProjectInfo p, iatiactivity MatchedProject, bool checkMismatch = true ) : bool
ConvertAimsToIati ( tblProjectInfo project ) : iatiactivity
DeleteTransactions ( tblProjectInfo p, iatiactivity MatchedProject ) : void
GetNAMinistry ( string userId ) : tblMinistry
GetOtherFundSourceCategory ( string userId ) : tblFundSourceCategory
UpdateTransactions ( string Iuser, IQueryable aimsCurrencies, IQueryable aimsAidCategories, string defaultfinancetype, tblProjectInfo p, iatiactivity MatchedProject ) : void
getIdentifer ( tblProjectInfo project ) : string

메소드 상세

CreateNewExecutingAgency() 공개 메소드

public CreateNewExecutingAgency ( participatingorg org, string userId ) : ExecutingAgencyLookupItem
org participatingorg
userId string
리턴 AIMS_BD_IATI.Library.ExecutingAgencyLookupItem

GetAIMSProjectInIATIFormat() 공개 메소드

public GetAIMSProjectInIATIFormat ( int projectId ) : iatiactivity
projectId int
리턴 iatiactivity

GetAIMSProjectsInIATIFormat() 공개 메소드

Convert AIMS to IATI v2.x ref:http://iatistandard.org/202/activity-standard/iati-activities/iati-activity
public GetAIMSProjectsInIATIFormat ( string dp ) : List
dp string Managing/Lead/Implementing Development Partner's IATI Organization Code
리턴 List

GetAllFundSources() 공개 메소드

Get Managing DPs
public GetAllFundSources ( ) : List
리턴 List

GetExchangesRateToUSD() 공개 메소드

public GetExchangesRateToUSD ( string fromCurrencyISOcode, System.DateTime date = null ) : List
fromCurrencyISOcode string
date System.DateTime
리턴 List

GetExecutingAgencies() 공개 메소드

public GetExecutingAgencies ( ) : List
리턴 List

GetExecutingAgencyTypes() 공개 메소드

public GetExecutingAgencyTypes ( ) : List
리턴 List

GetFundSourceIDnIATICode() 공개 메소드

public GetFundSourceIDnIATICode ( string IatiCode ) : string
IatiCode string
리턴 string

GetFundSources() 공개 메소드

public GetFundSources ( string userId ) : List
userId string
리턴 List

GetFundSources() 공개 메소드

public GetFundSources ( ) : List
리턴 List

GetMappedAIMSProjectsInIATIFormat() 공개 메소드

public GetMappedAIMSProjectsInIATIFormat ( string dp, List mappedProjectIds ) : List
dp string
mappedProjectIds List
리턴 List

GetNearestGeoLocation() 공개 정적인 메소드

public static GetNearestGeoLocation ( List geoLocations, location location ) : GeoLocation
geoLocations List
location location
리턴 GeoLocation

GetNotMappedAIMSProjectsInIATIFormat() 공개 메소드

public GetNotMappedAIMSProjectsInIATIFormat ( string dp, List mappedProjectIds ) : List
dp string
mappedProjectIds List
리턴 List

GetProjects() 공개 메소드

public GetProjects ( string dp ) : List
dp string
리턴 List

GetTrustFundDetails() 공개 메소드

public GetTrustFundDetails ( int trustFundId ) : TrustFundModel
trustFundId int
리턴 AIMS_BD_IATI.Library.Parser.ParserIATIv2.TrustFundModel

GetTrustFunds() 공개 메소드

public GetTrustFunds ( string dp ) : List
dp string
리턴 List

UpdateCofinanceProjects() 공개 메소드

public UpdateCofinanceProjects ( List projects, string Iuser ) : int?
projects List
Iuser string
리턴 int?

UpdateProjects() 공개 메소드

public UpdateProjects ( List projects, string Iuser, bool notCleanOldData = true ) : int?
projects List
Iuser string
notCleanOldData bool
리턴 int?

UpdateTrustFunds() 공개 메소드

public UpdateTrustFunds ( List TrustFundModels, string Iuser ) : int?
TrustFundModels List
Iuser string
리턴 int?