DataServiceCollectionExtensions class
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Services
Contains extensions to register data services
public static class DataServiceCollectionExtensions
Public Members
| name | description |
|---|---|
| static AddSqlConnections(…) | Adds default IConnectionStrings and ISqlConnections interfaces (2 methods) |
| static GetDataConnectionString(…) | Gets the specified connection string entry from the specified configuration's Data:[name] section. Only for use in Startup where IConnectionStrings is not yet available. Throws if no such connection is found. |