Table of Contents

Class LayoutDataServiceBase<TContext>

Namespace
Innova.Data.AppSettings.Services
Assembly
Innova.Data.dll

Base class for layout data service.

public abstract class LayoutDataServiceBase<TContext> : ILayoutDataServiceBase where TContext : DbContext

Type Parameters

TContext

The type of the database context.

Inheritance
LayoutDataServiceBase<TContext>
Implements
Derived

Constructors

LayoutDataServiceBase(IDbContextFactory<TContext>)

Initializes a new instance of the LayoutDataServiceBase<TContext> class.

Properties

UserId

Gets the user ID.

ViewLayoutSetting

Gets or sets the view layout setting.

Methods

DeleteLayout(string, string)

Deletes the layout for the specified view name and layout name.

GetLayouts()

Gets the layouts.

GetOrCreateLayout(string, string, string)

Gets or creates the layout for the specified view name, layout name, and layout string.

GetViewLayout(string)

Gets the view layout for the specified view name.