public PrimaryKeyBuilder WithColumn(string column, SQLiteSorting sorting) { _table.PrimaryKey.Columns.Add( new PrimaryKeyColumn { Name = column, Sort = sorting }); return(this); }
private string GetSortingString(SQLiteSorting type) { switch (type) { case SQLiteSorting.Ascending: return("ASC"); case SQLiteSorting.Descending: return("DESC"); default: throw new NotImplementedException(); } }