Inheritance: ICompositePropertyMapVisitor
Esempio n. 1
0
        public CompositePropertyMap(IEnumerable <ICompositePropertyFragmentMap> propertyMaps)
        {
            var propertyMapVisitor = new CompositePropertyMapVisitor();

            propertyMaps.ForEach(fragment => fragment.Accept(propertyMapVisitor));
            ContractType           = propertyMapVisitor.ContractType;
            GetPropertyFragmentMap = propertyMapVisitor.GetPropertyFragmentMap;
            SetPropertyFragmentMap = propertyMapVisitor.SetPropertyFragmentMap;
        }
Esempio n. 2
0
        public CompositePropertyMap(IEnumerable<ICompositePropertyFragmentMap> propertyMaps)
        {
            var propertyMapVisitor = new CompositePropertyMapVisitor();

            propertyMaps.ForEach(fragment => fragment.Accept(propertyMapVisitor));
            ContractType = propertyMapVisitor.ContractType;
            GetPropertyFragmentMap = propertyMapVisitor.GetPropertyFragmentMap;
            SetPropertyFragmentMap = propertyMapVisitor.SetPropertyFragmentMap;
        }