This question is locked. New answers and comments are not allowed.
Good day sir. may I ask how to forward map my ReadSP upon runtime? heres the code
public static IQueryResult ReadProducts(IObjectScope scope) |
{ |
IQuery query = scope.GetSqlQuery("[ReadProducts]", null,""); |
IQueryResult res = query.Execute(new object[] {}); |
int a = res.Count;//Actually executes the query |
return res; |
} |
And this is the original code from the database.
USE [Inventory] |
GO |
SET ANSI_NULLS ON |
GO |
SET QUOTED_IDENTIFIER ON |
GO |
ALTER PROCEDURE [dbo].[ReadProducts] |
AS |
BEGIN |
SET NOCOUNT ON; |
SELECT ProductName,Description from Products |
END |
As what I had mentioned earlier I want to forward map the first code above to the database at runtime. Yes OA can make SP but it lacks on the ability to give us Custom Read SP. Also is the Forward, Reverse Mapping Forms Open Source? Because I am planning to upgrade the feature that suites my needs? Or can you give us some links on how to do the wizard forms? Thanks