The LINQ to SQL model contains the Product entity. A stored procedure named GetActiveProducts performs a query that returns the set of active products from the database.
You need to invoke the stored procedute to return the active products, and you must ensure that the LINQ to SQL context can track changes to these entities.
What should you do?
Navigate to the GetActiveProducts stored procedure in Server Explorer, and drag the procedure onto the Product entity in the LINQ to SQL model designer surface.
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.