0
도메인 서비스 및 저장 프로 시저를 만들었습니다. 모든 단계를 수행했지만 저장 프로 시저를 클라이언트 측에서 찾을 수 없습니다. 내 테이블 이름은 pochrhts 및 poordedts이며 저장 프로 시저 이름은 bel_web_Supplier_ConfirmedPOs이며 두 개의 매개 변수를 사용합니다. 이걸 좀 도와 주실 래요?Silverlight의 도메인 서비스 내 저장 프로 시저 사용
[EnableClientAccess()]
public class DomainService1 : LinqToEntitiesDomainService<Web_DatabaseEntities>
{
// TODO:
// Consider constraining the results of your query method. If you need additional input you can
// add parameters to this method or create additional query methods with different names.
// To support paging you will need to add ordering to the 'pochrhts' query.
public IQueryable<pochrht> GetPochrhts()
{
return this.ObjectContext.pochrhts;
}
// TODO:
// Consider constraining the results of your query method. If you need additional input you can
// add parameters to this method or create additional query methods with different names.
// To support paging you will need to add ordering to the 'poordedts' query.
public IQueryable<poordedt> GetPoordedts()
{
return this.ObjectContext.poordedts;
}
// TODO:
// Consider constraining the results of your query method. If you need additional input you can
// add parameters to this method or create additional query methods with different names.
// To support paging you will need to add ordering to the 'poordehts' query.
public IQueryable<poordeht> GetPoordehts()
{
return this.ObjectContext.poordehts;
}
public IQueryable<bel_web_Supplier_ConfirmedPOs_Result> bel_web_Supplier_ConfirmedPOs(string a, int b)
{
return this.ObjectContext.bel_web_Supplier_ConfirmedPOs(a, b).AsQueryable();
}
}
당신이 당신의 저장 프로 시저의 서명에 대한 자세한 내용을 설명 할 수와 노출되어야 함을 필요로한다. –