mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-06 13:47:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System.Data;
|
||||
using System.Data.Linq;
|
||||
using System.Data.Linq.Mapping;
|
||||
|
||||
namespace Roblox.Configuration
|
||||
{
|
||||
[Database(Name = "ConfigurationDatabase")]
|
||||
public class ConfigurationDataClassesDataContext : DataContext
|
||||
{
|
||||
private static MappingSource mappingSource = new AttributeMappingSource();
|
||||
|
||||
public ConfigurationDataClassesDataContext()
|
||||
: base(global::Roblox.Configuration.Properties.Settings.Default.ConfigurationDatabaseConnectionString, mappingSource)
|
||||
{}
|
||||
public ConfigurationDataClassesDataContext(string connection)
|
||||
: base(connection, mappingSource)
|
||||
{}
|
||||
public ConfigurationDataClassesDataContext(IDbConnection connection)
|
||||
: base(connection, mappingSource)
|
||||
{}
|
||||
public ConfigurationDataClassesDataContext(string connection, MappingSource mappingSource)
|
||||
: base(connection, mappingSource)
|
||||
{}
|
||||
public ConfigurationDataClassesDataContext(IDbConnection connection, MappingSource mappingSource)
|
||||
: base(connection, mappingSource)
|
||||
{}
|
||||
|
||||
public Table<PopulatedGroup> PopulatedGroups => GetTable<PopulatedGroup>();
|
||||
public Table<Setting> Settings => GetTable<Setting>();
|
||||
public Table<ConnectionString> ConnectionStrings => GetTable<ConnectionString>();
|
||||
public Table<EndpointAddress> EndpointAddresses => GetTable<EndpointAddress>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user