Show / Hide Table of Contents

Class DataSeederExtensions

Inheritance
object
DataSeederExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Data
Assembly: Volo.Abp.Data.dll
Syntax
public static class DataSeederExtensions

Fields

SeedInSeparateUow

Declaration
public const string SeedInSeparateUow = "__SeedInSeparateUow"
Field Value
Type Description
string

SeedInSeparateUowOptions

Declaration
public const string SeedInSeparateUowOptions = "__SeedInSeparateUowOptions"
Field Value
Type Description
string

SeedInSeparateUowRequiresNew

Declaration
public const string SeedInSeparateUowRequiresNew = "__SeedInSeparateUowRequiresNew"
Field Value
Type Description
string

Methods

SeedAsync(IDataSeeder, Guid?)

Declaration
public static Task SeedAsync(this IDataSeeder seeder, Guid? tenantId = null)
Parameters
Type Name Description
IDataSeeder seeder
Guid? tenantId
Returns
Type Description
Task

SeedInSeparateUowAsync(IDataSeeder, Guid?, AbpUnitOfWorkOptions?, bool)

Declaration
public static Task SeedInSeparateUowAsync(this IDataSeeder seeder, Guid? tenantId = null, AbpUnitOfWorkOptions? options = null, bool requiresNew = false)
Parameters
Type Name Description
IDataSeeder seeder
Guid? tenantId
AbpUnitOfWorkOptions options
bool requiresNew
Returns
Type Description
Task
In this article
Back to top Powered by ABP.IO Platform