Jason
csharp private IDatabase GetDatabase() => new Database(ConnectionString, DatabaseType.SqlServer2012, SqlClientFactory.Instance); public async Task<IEnumerable<vessel>> GetAll() { using var database = GetDatabase(); return await database.FetchAsync<vessel>("SELECT * FROM " + TableName + " ORDER BY Vessel"); } //... other repository methods
Dan 'Diplo' Booth
Rich G
Domitnator
Matt Wise
TigerMan
CaptTaifun
Khattab
webjaved
error CS0246: The type or namespace name 'FeaturedItemsRow' could not be found (are you missing a using directive or an assembly reference?)
A hub and casual space for you to interact with fellow community members and learn more about Umbraco!