Upload to server

uploading
This commit is contained in:
2025-08-02 05:20:17 +07:00
commit a5eccbd452
984 changed files with 3031800 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
///////////////////////////////////////////////////////////////
// This is generated code.
//////////////////////////////////////////////////////////////
// Code is generated using LLBLGen Pro version: 4.2
// Code is generated on:
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
// Templates vendor: Solutions Design.
// Templates version:
//////////////////////////////////////////////////////////////
using System;
using Datalib;
using Datalib.HelperClasses;
using System.Collections.Generic;
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace Datalib.FactoryClasses
{
/// <summary>Generates IEntityFields2 instances for different kind of Entities.</summary>
public static partial class EntityFieldsFactory
{
private static readonly Dictionary<Datalib.EntityType, string> _entityTypeNamesCache = new Dictionary<Datalib.EntityType, string>();
/// <summary>static ctor which initializes the static entity type cache.</summary>
static EntityFieldsFactory()
{
foreach(Datalib.EntityType value in Enum.GetValues(typeof(Datalib.EntityType)))
{
_entityTypeNamesCache.Add(value, Enum.GetName(typeof(Datalib.EntityType), value));
}
}
/// <summary>General factory entrance method which will return an EntityFields2 object with the format generated by the factory specified</summary>
/// <param name="relatedEntityType">The type of entity the fields are for</param>
/// <returns>The IEntityFields instance requested</returns>
public static IEntityFields2 CreateEntityFieldsObject(Datalib.EntityType relatedEntityType)
{
return FieldInfoProviderSingleton.GetInstance().GetEntityFields(InheritanceInfoProviderSingleton.GetInstance(), _entityTypeNamesCache[relatedEntityType]);
}
/// <summary>General method which will return an array of IEntityFieldCore objects, used by the InheritanceInfoProvider. Only the fields defined in the entity are returned, no inherited fields.</summary>
/// <param name="entityName">the name of the entity to get the fields for. Example: "CustomerEntity"</param>
/// <returns>array of IEntityFieldCore fields, defined in the entity with the name specified</returns>
internal static IEntityFieldCore[] CreateFields(string entityName)
{
return FieldInfoProviderSingleton.GetInstance().GetEntityFieldsArray(entityName);
}
#region Included Code
#endregion
}
}