me24hour
asked on
custom site column not showing in LINQ Intellisence
Hi,
I have a custom content type which is not showing up in LINQ Intellisence.
I already ran the SPmetal.exe to create the MyEntitiesDataContext Class. The list is though showing up in the LINQ intellisence.
However, the list is associated with the custom content type. And, the custom column is not showing up in LINQ Intellisence.
How can i bring in the custom column in LINQ Intellisence.
I have a custom content type which is not showing up in LINQ Intellisence.
I already ran the SPmetal.exe to create the MyEntitiesDataContext Class. The list is though showing up in the LINQ intellisence.
However, the list is associated with the custom content type. And, the custom column is not showing up in LINQ Intellisence.
How can i bring in the custom column in LINQ Intellisence.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
ASKER
using (MyEntitiesDataContext sq = new MyEntitiesDataContext(curr
{
//Using LINQ to work with DataContext Object to fetch LSO Num from SequentialIDs list
//EntityList<SeqlID> sequentialIDs = sq.GetList<SeqlID>("Sequen
var q = from unique_Id in sq.SequentialIDs
where unique_Id.Title.StartsWith
select new
{
unique_Id.Id,
unique_Id.Title,
};
foreach (var a in q)
{
iLsoNum = Convert.ToInt32(a.Id);
iLsoNum = iLsoNum + 1 ;
}
}
In the above code the list 'SequentialIDs' has a custom column unique_Id. However, the intellisence is not picking up that column.
thanks in advance for any given help...!!