31 lines
657 B
C#
31 lines
657 B
C#
using System;
|
|
using xIds.Constants;
|
|
|
|
namespace xIds.Models
|
|
{
|
|
public class XDbInfo
|
|
{
|
|
private string _migrationAssembly;
|
|
public XDbProviders ProviderType { get; set; }
|
|
public string MigrationsAssembly
|
|
{
|
|
get
|
|
{
|
|
return _migrationAssembly;
|
|
}
|
|
|
|
set
|
|
{
|
|
//
|
|
_migrationAssembly = value;
|
|
|
|
//
|
|
OptionsBuilder = b =>
|
|
{
|
|
b.MigrationsAssembly(value);
|
|
};
|
|
}
|
|
}
|
|
public Action<dynamic> OptionsBuilder { get; set; }
|
|
}
|
|
} |