public void AfterInit() { fieldDefinitionsArray = FieldDefinitions.ToArray(); ignoredFieldDefinitionsArray = IgnoredFieldDefinitions.ToArray(); var allItems = new List <FieldDefinition>(FieldDefinitions); allItems.AddRange(IgnoredFieldDefinitions); allFieldDefinitionsArray = allItems.ToArray(); }
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(); }
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)); }
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); }