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 | |
System.Guid? | tenantId |
Returns
Type | Description |
---|---|
System.Threading.Tasks.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 | |
System.Guid? | tenantId | |
AbpUnitOfWorkOptions | options | |
bool | requiresNew |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |