Reporter | Ventsislav Mladenov (Ventsislav.Mladenov) |
---|---|
Created | Feb 8, 2012 9:11:12 PM |
Updated | Feb 8, 2012 9:11:12 PM |
Priority | Normal |
Type | Unspecified |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Hi,
I'm using entity framework and I have wrote my custom extension method for tables expand.
public static ObjectQuery<TSource> Include<TSource, TPropType>(this ObjectSet<TSource> objectSet, Expression<Func<TSource, TPropType>> propertySelector) where TSource : class
{
string expandString = BuildString(propertySelector);
;
}
from g in cntx.Groups.Include(g => g.Users)
The class Group has property Users but the resharper's intellisence does not give me any suggestions when I write "g."
If I use Visual Studio 2010 intellisence it gives me Group properties.
I'm using entity framework and I have wrote my custom extension method for tables expand.
public static ObjectQuery<TSource> Include<TSource, TPropType>(this ObjectSet<TSource> objectSet, Expression<Func<TSource, TPropType>> propertySelector) where TSource : class
{
string expandString = BuildString(propertySelector);
return objectSet.Include(expandString)
}
from g in cntx.Groups.Include(g => g.Users)
The class Group has property Users but the resharper's intellisence does not give me any suggestions when I write "g."
If I use Visual Studio 2010 intellisence it gives me Group properties.