/// <summary> /// Add index to view /// </summary> /// <param name="view">Instance of <see cref="View"/> class</param> /// <param name="dictionary">Dictionary from data reader</param> protected virtual void AddIndexToView(View view, IDictionary<string, object> dictionary) { view.Indexes.Add(SqlServerDatabaseFactoryHelper.GetIndex(dictionary)); }
/// <summary> /// Adds index to table /// </summary> /// <param name="table">Instance of <see cref="Table"/> class</param> /// <param name="dictionary">Dictionary from data reader</param> protected virtual void AddIndexToTable(Table table, IDictionary<string, object> dictionary) { table.Indexes.Add(SqlServerDatabaseFactoryHelper.GetIndex(dictionary)); }