Framework: LLblGenRuntime
LLblgen Ver 3.0
oracle 9i/10g
Hi, My code is below
var customers = new EntityCollection<AccountnatureEntity>(new AccountnatureEntityFactory());
var adapter = new DataAccessAdapter();
adapter.FetchEntityCollection(customers, null); // fetch all customers
var customerView = new EntityView2<AccountnatureEntity>(customers);
var projectionResults = new DataTable();
IPredicate filter = (AccountnatureFields.Flag == 0);
customerView.Filter = filter;
var propertyProjectors = new ArrayList();
customers.CreateProjection(propertyProjectors, projectionResults);
Problem:
I just to fetch all records from table account nature with condition flag=0 and project the output to datatable. Tried my level best with available examples but not able to figure out what I am doing wrong.