namespace ClassLibrary2
{
public interface Interface1
{
global::System.Int32 EMPLOYEE_ID
{
get;
set;
}
}
partial class EMPLOYEE_TBL : Interface1
{
}
}
{
public interface Interface1
{
global::System.Int32 EMPLOYEE_ID
{
get;
set;
}
}
partial class EMPLOYEE_TBL : Interface1
{
}
}
List<ClassLibrary2.Interface1> list = ent.EMPLOYEE_TBL.ToList().Cast<ClassLibrary2.Interface1>().ToList();