Upload to server
uploading
This commit is contained in:
23
omegapro/Datalib/DatabaseSpecific/ActionProcedures.cs
Normal file
23
omegapro/Datalib/DatabaseSpecific/ActionProcedures.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
//////////////////////////////////////////////////////////////
|
||||
// <auto-generated>This code was generated by LLBLGen Pro 5.7.</auto-generated>
|
||||
//////////////////////////////////////////////////////////////
|
||||
// Code is generated on:
|
||||
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
|
||||
// Templates vendor: Solutions Design.
|
||||
//////////////////////////////////////////////////////////////
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using SD.LLBLGen.Pro.ORMSupportClasses;
|
||||
|
||||
namespace Datalib.DatabaseSpecific
|
||||
{
|
||||
/// <summary>Class which contains the static logic to execute action stored procedures in the database.</summary>
|
||||
public static partial class ActionProcedures
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
7
omegapro/Datalib/DatabaseSpecific/App.config
Normal file
7
omegapro/Datalib/DatabaseSpecific/App.config
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<connectionStrings>
|
||||
<!-- please adjust the connection string embedded in the element below to target the proper catalog / server using the proper user / password combination -->
|
||||
<add name="ConnectionString.MS Access (OleDb)" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=I:\projects\OmegaPro\Database\Data.mdb;User Id=;Password=;Jet OLEDB:System Database=;Jet OLEDB:Database password="/>
|
||||
</connectionStrings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
59
omegapro/Datalib/DatabaseSpecific/AssemblyInfo.cs
Normal file
59
omegapro/Datalib/DatabaseSpecific/AssemblyInfo.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: System.CLSCompliant(true)]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
[assembly: AssemblyDelaySign(false)]
|
||||
[assembly: AssemblyKeyFile("")]
|
||||
[assembly: AssemblyKeyName("")]
|
107
omegapro/Datalib/DatabaseSpecific/DataAccessAdapter.cs
Normal file
107
omegapro/Datalib/DatabaseSpecific/DataAccessAdapter.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
//////////////////////////////////////////////////////////////
|
||||
// <auto-generated>This code was generated by LLBLGen Pro 5.7.</auto-generated>
|
||||
//////////////////////////////////////////////////////////////
|
||||
// Code is generated on:
|
||||
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
|
||||
// Templates vendor: Solutions Design.
|
||||
//////////////////////////////////////////////////////////////
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using SD.LLBLGen.Pro.ORMSupportClasses;
|
||||
using SD.LLBLGen.Pro.DQE.Access;
|
||||
|
||||
namespace Datalib.DatabaseSpecific
|
||||
{
|
||||
// __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces
|
||||
// __LLBLGENPRO_USER_CODE_REGION_END
|
||||
|
||||
/// <summary>Data access adapter class, which controls the complete database interaction with the database for all objects.</summary>
|
||||
/// <remarks>Use a DataAccessAdapter object solely per thread, and per connection. A DataAccessAdapter object contains 1 active connection
|
||||
/// and no thread-access scheduling code. This means that you need to create a new DataAccessAdapter object if you want to utilize
|
||||
/// in another thread a new connection and a new transaction or want to open a new connection.</remarks>
|
||||
public partial class DataAccessAdapter : DataAccessAdapterBase
|
||||
{
|
||||
/// <summary>The name of the key in the *.config file of the executing application which contains the connection string.</summary>
|
||||
/// <remarks>Default: the value set in the LLBLGen Pro project properties</remarks>
|
||||
public static string ConnectionStringKeyName="ConnectionString.MS Access (OleDb)";
|
||||
|
||||
/// <summary>CTor</summary>
|
||||
public DataAccessAdapter() : this(ReadConnectionStringFromConfig(), false, null, null) { }
|
||||
|
||||
/// <summary>CTor</summary>
|
||||
/// <param name="keepConnectionOpen">when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage.</param>
|
||||
public DataAccessAdapter(bool keepConnectionOpen) : this(ReadConnectionStringFromConfig(), keepConnectionOpen, null, null) { }
|
||||
|
||||
/// <summary>CTor</summary>
|
||||
/// <param name="connectionString">The connection string to use when connecting to the database.</param>
|
||||
public DataAccessAdapter(string connectionString) : this(connectionString, false, null, null) { }
|
||||
|
||||
/// <summary>CTor</summary>
|
||||
/// <param name="connectionString">The connection string to use when connecting to the database.</param>
|
||||
/// <param name="keepConnectionOpen">when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage.</param>
|
||||
public DataAccessAdapter(string connectionString, bool keepConnectionOpen) : this(connectionString, keepConnectionOpen, null, null) { }
|
||||
|
||||
/// <summary>CTor.</summary>
|
||||
/// <param name="connectionString">The connection string to use when connecting to the database.</param>
|
||||
/// <param name="keepConnectionOpen">when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage.</param>
|
||||
/// <param name="catalogNameUsageSetting"> Configures this data access adapter object how to threat catalog names in persistence information.</param>
|
||||
/// <param name="catalogNameToUse"> The name to use if catalogNameUsageSetting is set to ForceName. Ignored otherwise.</param>
|
||||
/// <remarks>For backwards compatibility.</remarks>
|
||||
public DataAccessAdapter(string connectionString, bool keepConnectionOpen, CatalogNameUsage catalogNameUsageSetting, string catalogNameToUse)
|
||||
: base(PersistenceInfoProviderSingleton.GetInstance())
|
||||
{
|
||||
InitClassPhase2(connectionString, keepConnectionOpen, catalogNameUsageSetting, SchemaNameUsage.Default, catalogNameToUse, string.Empty, null, null);
|
||||
}
|
||||
|
||||
/// <summary>CTor</summary>
|
||||
/// <param name="connectionString">The connection string to use when connecting to the database.</param>
|
||||
/// <param name="keepConnectionOpen">when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage.</param>
|
||||
/// <param name="schemaNameUsageSetting">Configures this data access adapter object how to threat schema names in persistence information.</param>
|
||||
/// <param name="schemaNameToUse">Oracle specific. The name to use if schemaNameUsageSetting is set to ForceName. Ignored otherwise.</param>
|
||||
public DataAccessAdapter(string connectionString, bool keepConnectionOpen, SchemaNameUsage schemaNameUsageSetting, string schemaNameToUse)
|
||||
: base(PersistenceInfoProviderSingleton.GetInstance())
|
||||
{
|
||||
InitClassPhase2(connectionString, keepConnectionOpen, CatalogNameUsage.Default, schemaNameUsageSetting, string.Empty, schemaNameToUse, null, null);
|
||||
}
|
||||
|
||||
/// <summary>CTor.</summary>
|
||||
/// <param name="connectionString">The connection string to use when connecting to the database.</param>
|
||||
/// <param name="keepConnectionOpen">when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage.</param>
|
||||
/// <param name="catalogNameOverwrites"> The from-to name value pairs and setting for the overwriting of catalog names. Can be null.</param>
|
||||
/// <param name="schemaNameOverwrites"> The from-to name value pairs and setting for the overwriting of schema names. Can be null.</param>
|
||||
public DataAccessAdapter(string connectionString, bool keepConnectionOpen, CatalogNameOverwriteHashtable catalogNameOverwrites, SchemaNameOverwriteHashtable schemaNameOverwrites)
|
||||
: base(PersistenceInfoProviderSingleton.GetInstance())
|
||||
{
|
||||
InitClassPhase2(connectionString, keepConnectionOpen, CatalogNameUsage.Default, SchemaNameUsage.Default, string.Empty, string.Empty, catalogNameOverwrites, schemaNameOverwrites);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>Creates a new Dynamic Query engine object and passes in the defined catalog/schema overwrite hashtables.</summary>
|
||||
protected override DynamicQueryEngineBase CreateDynamicQueryEngine()
|
||||
{
|
||||
return this.PostProcessNewDynamicQueryEngine(new DynamicQueryEngine());
|
||||
}
|
||||
|
||||
/// <summary>Reads the value of the setting with the key ConnectionStringKeyName from the *.config file and stores that value as the active connection string to use for this object.</summary>
|
||||
/// <returns>connection string read</returns>
|
||||
private static string ReadConnectionStringFromConfig()
|
||||
{
|
||||
#if NETSTANDARD || NETCOREAPP
|
||||
return RuntimeConfiguration.GetConnectionString(ConnectionStringKeyName);
|
||||
#else
|
||||
return ConfigFileHelper.ReadConnectionStringFromConfig(ConnectionStringKeyName);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
// __LLBLGENPRO_USER_CODE_REGION_START CustomDataAccessAdapterCode
|
||||
// __LLBLGENPRO_USER_CODE_REGION_END
|
||||
|
||||
|
||||
}
|
||||
}
|
78
omegapro/Datalib/DatabaseSpecific/DatalibDBSpecific.csproj
Normal file
78
omegapro/Datalib/DatabaseSpecific/DatalibDBSpecific.csproj
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{45BDB333-1CB0-4B86-A94A-8DDB80037848}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Datalib.DatabaseSpecific</RootNamespace>
|
||||
<AssemblyName>DatalibDBSpecific</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="SD.LLBLGen.Pro.ORMSupportClasses, Version=5.7.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
|
||||
<SpecificVersion>True</SpecificVersion>
|
||||
<HintPath>C:\Program Files (x86)\Solutions Design\LLBLGen Pro v5.7\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\SD.LLBLGen.Pro.ORMSupportClasses.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SD.LLBLGen.Pro.DQE.Access, Version=5.7.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
|
||||
<SpecificVersion>True</SpecificVersion>
|
||||
<HintPath>C:\Program Files (x86)\Solutions Design\LLBLGen Pro v5.7\Frameworks\LLBLGen Pro\RuntimeLibraries\CompiledRuntimeLibraries\</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.cs">
|
||||
<GeneratedBy>LLBLGen Pro</GeneratedBy>
|
||||
</Compile>
|
||||
<Compile Include="PersistenceInfoProvider.cs">
|
||||
<GeneratedBy>LLBLGen Pro</GeneratedBy>
|
||||
</Compile>
|
||||
<None Include="App.config">
|
||||
<GeneratedBy>LLBLGen Pro</GeneratedBy>
|
||||
</None>
|
||||
<Compile Include="ActionProcedures.cs">
|
||||
<GeneratedBy>LLBLGen Pro</GeneratedBy>
|
||||
</Compile>
|
||||
<Compile Include="RetrievalProcedures.cs">
|
||||
<GeneratedBy>LLBLGen Pro</GeneratedBy>
|
||||
</Compile>
|
||||
<Compile Include="DataAccessAdapter.cs">
|
||||
<GeneratedBy>LLBLGen Pro</GeneratedBy>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
146
omegapro/Datalib/DatabaseSpecific/PersistenceInfoProvider.cs
Normal file
146
omegapro/Datalib/DatabaseSpecific/PersistenceInfoProvider.cs
Normal file
@@ -0,0 +1,146 @@
|
||||
//////////////////////////////////////////////////////////////
|
||||
// <auto-generated>This code was generated by LLBLGen Pro v5.7.</auto-generated>
|
||||
//////////////////////////////////////////////////////////////
|
||||
// Code is generated on:
|
||||
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
|
||||
// Templates vendor: Solutions Design.
|
||||
//////////////////////////////////////////////////////////////
|
||||
using System;
|
||||
using SD.LLBLGen.Pro.ORMSupportClasses;
|
||||
|
||||
namespace Datalib.DatabaseSpecific
|
||||
{
|
||||
/// <summary>Singleton implementation of the PersistenceInfoProvider. This class is the singleton wrapper through which the actual instance is retrieved.</summary>
|
||||
internal static class PersistenceInfoProviderSingleton
|
||||
{
|
||||
private static readonly IPersistenceInfoProvider _providerInstance = new PersistenceInfoProviderCore();
|
||||
|
||||
/// <summary>Dummy static constructor to make sure threadsafe initialization is performed.</summary>
|
||||
static PersistenceInfoProviderSingleton() { }
|
||||
|
||||
/// <summary>Gets the singleton instance of the PersistenceInfoProviderCore</summary>
|
||||
/// <returns>Instance of the PersistenceInfoProvider.</returns>
|
||||
public static IPersistenceInfoProvider GetInstance() { return _providerInstance; }
|
||||
}
|
||||
|
||||
/// <summary>Actual implementation of the PersistenceInfoProvider. Used by singleton wrapper.</summary>
|
||||
internal class PersistenceInfoProviderCore : PersistenceInfoProviderBase
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="PersistenceInfoProviderCore"/> class.</summary>
|
||||
internal PersistenceInfoProviderCore()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
|
||||
/// <summary>Method which initializes the internal datastores with the structure of hierarchical types.</summary>
|
||||
private void Init()
|
||||
{
|
||||
this.InitClass();
|
||||
InitTblFieldEntityMappings();
|
||||
InitTblQuestionEntityMappings();
|
||||
InitTblQuizEntityMappings();
|
||||
InitTblQuizQuestionEntityMappings();
|
||||
InitTblQuizTemplateEntityMappings();
|
||||
InitTblQuizTemplateDetailEntityMappings();
|
||||
InitTblSubjectEntityMappings();
|
||||
InitTblTrainingTypeEntityMappings();
|
||||
}
|
||||
|
||||
/// <summary>Inits TblFieldEntity's mappings</summary>
|
||||
private void InitTblFieldEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblFieldEntity", @"Data", @"Default", "tblFields", 6, 0);
|
||||
this.AddElementFieldMapping("TblFieldEntity", "Description", "Description", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblFieldEntity", "FieldId", "FieldID", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblFieldEntity", "FieldName", "FieldName", true, "VarWChar", 50, 0, 0, false, "", null, typeof(System.String), 2);
|
||||
this.AddElementFieldMapping("TblFieldEntity", "Prefix", "Prefix", true, "VarWChar", 255, 0, 0, false, "", null, typeof(System.String), 3);
|
||||
this.AddElementFieldMapping("TblFieldEntity", "SubjectId", "SubjectID", true, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 4);
|
||||
this.AddElementFieldMapping("TblFieldEntity", "UniqueId", "UniqueID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 5);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblQuestionEntity's mappings</summary>
|
||||
private void InitTblQuestionEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblQuestionEntity", @"Data", @"Default", "tblQuestions", 12, 0);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Answer", "Answer", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Content", "Content", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "CreateDate", "CreateDate", true, "Date", 0, 0, 0, false, "", null, typeof(System.DateTime), 2);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Difficulty", "Difficulty", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 3);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Exclusive", "Exclusive", false, "Boolean", 2, 0, 0, false, "", null, typeof(System.Boolean), 4);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Explaination", "Explaination", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 5);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "FieldId", "FieldID", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 6);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Level", "Level", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 7);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "QuestionCode", "QuestionCode", true, "VarWChar", 10, 0, 0, false, "", null, typeof(System.String), 8);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "QuestionId", "QuestionID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 9);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "SubjectId", "SubjectID", true, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 10);
|
||||
this.AddElementFieldMapping("TblQuestionEntity", "Summary", "Summary", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 11);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblQuizEntity's mappings</summary>
|
||||
private void InitTblQuizEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblQuizEntity", @"Data", @"Default", "tblQuizs", 6, 0);
|
||||
this.AddElementFieldMapping("TblQuizEntity", "QuizCode", "QuizCode", true, "VarWChar", 255, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblQuizEntity", "QuizId", "QuizID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblQuizEntity", "QuizName", "QuizName", true, "VarWChar", 255, 0, 0, false, "", null, typeof(System.String), 2);
|
||||
this.AddElementFieldMapping("TblQuizEntity", "QuizTemplateId", "QuizTemplateID", true, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 3);
|
||||
this.AddElementFieldMapping("TblQuizEntity", "QuizTime", "QuizTime", true, "Integer", 0, 10, 0, false, "", null, typeof(System.Int32), 4);
|
||||
this.AddElementFieldMapping("TblQuizEntity", "QuizYear", "QuizYear", true, "Integer", 0, 10, 0, false, "", null, typeof(System.Int32), 5);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblQuizQuestionEntity's mappings</summary>
|
||||
private void InitTblQuizQuestionEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblQuizQuestionEntity", @"Data", @"Default", "tblQuizQuestions", 5, 0);
|
||||
this.AddElementFieldMapping("TblQuizQuestionEntity", "QuestionId", "QuestionID", true, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblQuizQuestionEntity", "QuizId", "QuizID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblQuizQuestionEntity", "QuizTemplateId", "QuizTemplateID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 2);
|
||||
this.AddElementFieldMapping("TblQuizQuestionEntity", "TrainingTypeId", "TrainingTypeID", false, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 3);
|
||||
this.AddElementFieldMapping("TblQuizQuestionEntity", "UniqueId", "UniqueID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 4);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblQuizTemplateEntity's mappings</summary>
|
||||
private void InitTblQuizTemplateEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblQuizTemplateEntity", @"Data", @"Default", "tblQuizTemplate", 7, 0);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "FooterDes", "FooterDes", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "HeaderDes", "HeaderDes", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "QuizTemplateCode", "QuizTemplateCode", true, "VarWChar", 255, 0, 0, false, "", null, typeof(System.String), 2);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "QuizTemplateId", "QuizTemplateID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 3);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "Renumering", "Renumering", false, "Boolean", 2, 0, 0, false, "", null, typeof(System.Boolean), 4);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "TemplateQuizName", "TemplateQuizName", true, "VarWChar", 255, 0, 0, false, "", null, typeof(System.String), 5);
|
||||
this.AddElementFieldMapping("TblQuizTemplateEntity", "TrainingTypeId", "TrainingTypeID", false, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 6);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblQuizTemplateDetailEntity's mappings</summary>
|
||||
private void InitTblQuizTemplateDetailEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblQuizTemplateDetailEntity", @"Data", @"Default", "tblQuizTemplateDetail", 7, 0);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "Difficulty", "Difficulty", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "FieldId", "FieldID", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "Level", "Level", true, "VarWChar", 1, 0, 0, false, "", null, typeof(System.String), 2);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "QuestionNum", "QuestionNum", true, "SmallInt", 0, 5, 0, false, "", null, typeof(System.Int16), 3);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "QuizTemplateId", "QuizTemplateID", true, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 4);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "SubjectId", "SubjectID", true, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 5);
|
||||
this.AddElementFieldMapping("TblQuizTemplateDetailEntity", "UniqueId", "UniqueID", false, "VarWChar", 32, 0, 0, false, "", null, typeof(System.String), 6);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblSubjectEntity's mappings</summary>
|
||||
private void InitTblSubjectEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblSubjectEntity", @"Data", @"Default", "tblSubjects", 3, 0);
|
||||
this.AddElementFieldMapping("TblSubjectEntity", "SubjectDes", "SubjectDes", true, "LongVarWChar", 536870911, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblSubjectEntity", "SubjectId", "SubjectID", false, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
this.AddElementFieldMapping("TblSubjectEntity", "SubjectName", "SubjectName", true, "VarWChar", 50, 0, 0, false, "", null, typeof(System.String), 2);
|
||||
}
|
||||
|
||||
/// <summary>Inits TblTrainingTypeEntity's mappings</summary>
|
||||
private void InitTblTrainingTypeEntityMappings()
|
||||
{
|
||||
this.AddElementMapping("TblTrainingTypeEntity", @"Data", @"Default", "tblTrainingTypes", 2, 0);
|
||||
this.AddElementFieldMapping("TblTrainingTypeEntity", "TrainingTypeId", "TrainingTypeID", false, "VarWChar", 2, 0, 0, false, "", null, typeof(System.String), 0);
|
||||
this.AddElementFieldMapping("TblTrainingTypeEntity", "TrainingTypeName", "TrainingTypeName", true, "VarWChar", 255, 0, 0, false, "", null, typeof(System.String), 1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
25
omegapro/Datalib/DatabaseSpecific/RetrievalProcedures.cs
Normal file
25
omegapro/Datalib/DatabaseSpecific/RetrievalProcedures.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
//////////////////////////////////////////////////////////////
|
||||
// <auto-generated>This code was generated by LLBLGen Pro 5.7.</auto-generated>
|
||||
//////////////////////////////////////////////////////////////
|
||||
// Code is generated on:
|
||||
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
|
||||
// Templates vendor: Solutions Design.
|
||||
//////////////////////////////////////////////////////////////
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using SD.LLBLGen.Pro.ORMSupportClasses;
|
||||
using SD.LLBLGen.Pro.QuerySpec.Adapter;
|
||||
|
||||
namespace Datalib.DatabaseSpecific
|
||||
{
|
||||
/// <summary>Class which contains the static logic to execute retrieval stored procedures in the database.</summary>
|
||||
public static partial class RetrievalProcedures
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<connectionStrings>
|
||||
<!-- please adjust the connection string embedded in the element below to target the proper catalog / server using the proper user / password combination -->
|
||||
<add name="ConnectionString.MS Access (OleDb)" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=I:\projects\OmegaPro\Database\Data.mdb;User Id=;Password=;Jet OLEDB:System Database=;Jet OLEDB:Database password="/>
|
||||
</connectionStrings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
Binary file not shown.
@@ -0,0 +1 @@
|
||||
9d49d9fc7859c9bfecf3f0155ad59fd4efdc85ce
|
@@ -0,0 +1,35 @@
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.dll.config
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.dll
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.pdb
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.DQE.Access.dll
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.dll
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.pdb
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.xml
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.DQE.Access.pdb
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.CoreCompileInputs.cache
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.CopyComplete
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.dll
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.pdb
|
||||
I:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csprojAssemblyReference.cache
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.dll.config
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.dll
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.pdb
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.pdb
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.xml
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.DQE.Access.pdb
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.AssemblyReference.cache
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.CoreCompileInputs.cache
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.CopyComplete
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.dll
|
||||
H:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.pdb
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.dll.config
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.dll
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\DatalibDBSpecific.pdb
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.pdb
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.ORMSupportClasses.xml
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\bin\Release\SD.LLBLGen.Pro.DQE.Access.pdb
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.AssemblyReference.cache
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.CoreCompileInputs.cache
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.csproj.CopyComplete
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.dll
|
||||
J:\projects\OmegaPro\Datalib\DatabaseSpecific\obj\Release\DatalibDBSpecific.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
obj\Release\\_IsIncrementalBuild
|
Reference in New Issue
Block a user