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