System\Data\Objects\Internal\EntityProxyFactory.cs (8)
675PropertyBuilder propertyBuilder = TypeBuilder.DefineProperty(member.Name, System.Reflection.PropertyAttributes.None, baseProperty.PropertyType, Type.EmptyTypes);
677if (!_ipocoImplementor.EmitMember(TypeBuilder, member, propertyBuilder, baseProperty, _baseImplementor))
679EmitBaseSetter(TypeBuilder, propertyBuilder, baseProperty);
681if (!_lazyLoadImplementor.EmitMember(TypeBuilder, member, propertyBuilder, baseProperty, _baseImplementor))
683EmitBaseGetter(TypeBuilder, propertyBuilder, baseProperty);
692_baseImplementor.Implement(TypeBuilder, RegisterInstanceField);
693_iserializableImplementor.Implement(TypeBuilder, _serializedFields);
697return hadProxyProperties ? TypeBuilder.CreateType() : null;