public void AfterInit()
        {
            fieldDefinitionsArray        = FieldDefinitions.ToArray();
            ignoredFieldDefinitionsArray = IgnoredFieldDefinitions.ToArray();

            var allItems = new List <FieldDefinition>(FieldDefinitions);

            allItems.AddRange(IgnoredFieldDefinitions);
            allFieldDefinitionsArray = allItems.ToArray();
        }
示例#2
0
        public void AfterInit()
        {
            FieldDefinitionsArray       = FieldDefinitions.ToArray();
            FieldDefinitionsWithAliases = FieldDefinitions.Where(x => x.Alias != null).ToArray();

            IgnoredFieldDefinitionsArray = IgnoredFieldDefinitions.ToArray();

            var allItems = new List <FieldDefinition>(FieldDefinitions);

            allItems.AddRange(IgnoredFieldDefinitions);
            AllFieldDefinitionsArray = allItems.ToArray();
        }
示例#3
0
        public void AfterInit()
        {
            fieldDefinitionsArray        = FieldDefinitions.ToArray();
            ignoredFieldDefinitionsArray = IgnoredFieldDefinitions.ToArray();

            var allItems = new List <FieldDefinition>(FieldDefinitions);

            allItems.AddRange(IgnoredFieldDefinitions);
            allFieldDefinitionsArray = allItems.ToArray();

            SqlSelectAllFromTable = "SELECT {0} FROM {1} "
                                    .Fmt(OrmLiteConfig.DialectProvider.GetColumnNames(this),
                                         OrmLiteConfig.DialectProvider.GetQuotedTableName(this));
        }
示例#4
0
        public void AfterInit()
        {
            FieldDefinitionsArray       = FieldDefinitions.ToArray();
            FieldDefinitionsWithAliases = FieldDefinitions.Where(x => x.Alias != null).ToArray();

            IgnoredFieldDefinitionsArray = IgnoredFieldDefinitions.ToArray();

            var allItems = new List <FieldDefinition>(FieldDefinitions);

            allItems.AddRange(IgnoredFieldDefinitions);
            AllFieldDefinitionsArray = allItems.ToArray();

            OrmLiteConfig.OnModelDefinitionInit?.Invoke(this);
        }