namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Entity
Adds the annotation types, sql connections, default row type registry and row fields provider. Warning: This method sets the singleton row fields provider as the default by calling RowFieldsProvider.SetDefault on creation.
public static void AddEntities(this IServiceCollection services)
parameter | description |
---|---|
services | The services. |