コード例 #1
0
        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);
        }