NPoco.PocoDataFactory.BaseClassFalbackPocoDataBuilder C# (CSharp) Method

BaseClassFalbackPocoDataBuilder() private method

private BaseClassFalbackPocoDataBuilder ( Type type ) : InitializedPocoDataBuilder
type System.Type
return InitializedPocoDataBuilder
        private InitializedPocoDataBuilder BaseClassFalbackPocoDataBuilder(Type type)
        {
            var builder = new PocoDataBuilder(type, _mapper).Init();
            var persistedType = builder.BuildTableInfo().PersistedType;
            if (persistedType == null || persistedType == type)
            {
                return builder;
            }
            return new PocoDataBuilder(persistedType, _mapper).Init();
        }