29 lines
831 B
C#
29 lines
831 B
C#
using System.Collections.Generic;
|
|
using xDataService.Constants;
|
|
|
|
namespace xDataService.Configuration
|
|
{
|
|
/// <summary>
|
|
/// Describe a Database ...
|
|
/// </summary>
|
|
public class XDataBaseConfiguration
|
|
{
|
|
/// <summary>
|
|
/// Provider Type ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public XDbProviders Provider { get; set; }
|
|
|
|
/// <summary>
|
|
/// Connection String which provide Requires Data to Connect to Db Provider ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public string ConnectionString { get; set; }
|
|
|
|
/// <summary>
|
|
/// Holds Seeding items ...
|
|
/// nameof(TEntity) => TEntity
|
|
/// </summary>
|
|
public IDictionary<string, List<object>> SeedItems { get; set; } = new Dictionary<string, List<object>>();
|
|
}
|
|
} |