I am trying fetch entity from a class file. Here is my code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ClubCentricHelper.DatabaseSpecific;
using ClubCentricHelper.EntityClasses;
using ClubCentricHelper.FactoryClasses;
using ClubCentricHelper.HelperClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace ClubCentricBISpecific
{
public class StateTable
{
EntityCollection<StateEntity> state = new EntityCollection<StateEntity>(new StateEntityFactory());
private DataAccessAdapter adapter = new DataAccessAdapter();
}
}
I am not able to execute adapter.fetchentity and assign it to dataset. What am I doing wrong here ? Am i missing any refernces? I dont get the fetchentity option itself
Regards, Shekar