C# Class Microsoft.EntityFrameworkCore.DataAnnotationInMemoryFixture

Inheritance: DataAnnotationFixtureBase
显示文件 Open project: MyPrivateAccount/XYHOutSource Class Usage Examples

Public Properties

Property Type Description
DatabaseName string

Public Methods

Method Description
CreateContext ( testStore ) : Microsoft.EntityFrameworkCore.DataAnnotationContext
CreateTestStore ( ) : Microsoft.EntityFrameworkCore.InMemoryTestStore
DataAnnotationInMemoryFixture ( ) : Microsoft.EntityFrameworkCore.Diagnostics

Method Details

CreateContext() public method

public CreateContext ( testStore ) : Microsoft.EntityFrameworkCore.DataAnnotationContext
return Microsoft.EntityFrameworkCore.DataAnnotationContext

CreateTestStore() public method

public CreateTestStore ( ) : Microsoft.EntityFrameworkCore.InMemoryTestStore
return Microsoft.EntityFrameworkCore.InMemoryTestStore

DataAnnotationInMemoryFixture() public method

public DataAnnotationInMemoryFixture ( ) : Microsoft.EntityFrameworkCore.Diagnostics
return Microsoft.EntityFrameworkCore.Diagnostics

Property Details

DatabaseName public_oe static_oe property

public static string DatabaseName
return string