3 instantiations of EntityRef
System.Data.Linq (3)
Mapping\Accessors.cs (3)
236this.acc.SetValue(ref instance, new EntityRef<V>(value)); 262this.acc.SetValue(ref instance, new EntityRef<V>(value)); 280this.acc.SetValue(ref instance, new EntityRef<V>(value));
21 references to EntityRef
System.Data.Linq (21)
Mapping\Accessors.cs (13)
227MetaAccessor<T, EntityRef<V>> acc; 228internal EntityRefValueAccessor(MetaAccessor<T, EntityRef<V>> acc) { 232EntityRef<V> er = this.acc.GetValue(instance); 239EntityRef<V> er = this.acc.GetValue((T)instance); 243EntityRef<V> er = this.acc.GetValue((T)instance); 247EntityRef<V> er = this.acc.GetValue((T)instance); 253MetaAccessor<T, EntityRef<V>> acc; 254internal EntityRefDefValueAccessor(MetaAccessor<T, EntityRef<V>> acc) { 258EntityRef<V> er = this.acc.GetValue(instance); 267MetaAccessor<T, EntityRef<V>> acc; 268internal EntityRefDefSourceAccessor(MetaAccessor<T, EntityRef<V>> acc) { 272EntityRef<V> er = this.acc.GetValue(instance); 276EntityRef<V> er = this.acc.GetValue(instance);
Mapping\AttributedMetaModel.cs (2)
1257typeof(EntityRef<>).IsAssignableFrom(gtype) || 1288else if (typeof(EntityRef<>).IsAssignableFrom(gtype)) {
Mapping\MappedMetaModel.cs (2)
1162typeof(EntityRef<>).IsAssignableFrom(gtype) || 1193else if (typeof(EntityRef<>).IsAssignableFrom(gtype)) {
SqlClient\Reader\ObjectReaderCompiler.cs (3)
1082else if (genType == typeof(EntityRef<>) || genType == typeof(Link<>)) { 1280(memberType.GetGenericTypeDefinition() == typeof(EntityRef<>) || 1636else if (genExpectedType == typeof(EntityRef<>) || genExpectedType == typeof(Link<>)) {
Types.cs (1)
99public EntityRef(EntityRef<TEntity> entityRef) {