Hello, i'm having the following problem, i want to use a dataSet in a function in the drl file.So, i'm doing the following:
<import>System</import> <import>System.Data</import> <dotnet:functions> public void ExtractFromDB() { DataSet dSet = new DataSet (); } </dotnet:functions> <rule name="REA Rule"> <parameter identifier="test"> <dotnet:class>System.String</dotnet:class> </parameter> <dotnet:condition> test.Equals("test")</dotnet:condition> <dotnet:consequence> ExtractFromDB(); Console.WriteLine("the dataset is true"); </dotnet:consequence> </rule> </rule-set> But, i have this error : The type or namespace name 'DataSet' could not be found (are you missing a using directive or an assembly reference?) Thanks for ur help, -- Eliane Daghfal