Beispiel #1
0
        private static FluentConfig GetMemberBinding(Type entityType, MemberInfo member)
        {
            FluentConfig def = null;

            if (_FluentConfig.TryGetValue(entityType, out Dictionary <MemberInfo, FluentConfig> t))
            {
                t.TryGetValue(member, out def);
            }

            return(def);
        }
        internal static FluentConfig GetMemberBinding(Type entityType, MemberInfo member)
        {
            FluentConfig def = null;

            if (GetBinding(entityType, out var t))
            {
                t.TryGetValue(member, out def);
            }

            return(def);
        }