我在其中创建了一个域服务和一个存储过程,我遵循了所有步骤,但在客户端中找不到存储过程。我的表名称是 pochrhts 和 pooddedts,存储过程名称是 bel_web_Supplier_ConfirmedPOs,它使用两个参数。你能帮我解决这个问题吗?
[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();
}
}