Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

CompanyInfoProvider.GetCompanyInfo always return null

$
0
0
I created a cms module and added class named Company (namespace = Tech)I am trying to find a record in table using following lines:CompanyInfo companyInfo = CompanyInfoProvider.GetCompanyInfo(new Guid(guid));The variable guid has proper value and if I try to execute manual query, it finds the record. However above statement always return null for companyInfo.While generating the code files, I tried all possibilities:Guid Column =@ CompanyGuid Display name column =@ CompanyGuid Code name column =@ CompanyGuidWhat am I doing wrong?

Viewing all articles
Browse latest Browse all 8832

Trending Articles