//////////////////////////////////////////////////////////////
// This code was generated by LLBLGen Pro 5.7.
//////////////////////////////////////////////////////////////
// Code is generated on:
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
// Templates vendor: Solutions Design.
//////////////////////////////////////////////////////////////
using System;
using Datalib.HelperClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace Datalib.FactoryClasses
{
/// Generates IEntityFields2 instances for different kind of Entities. For backwards compatibility.
public static partial class EntityFieldsFactory
{
/// General factory entrance method which will return an EntityFields2 object with the format generated by the factory specified
/// The type of entity the fields are for
/// The IEntityFields instance requested
public static IEntityFields2 CreateEntityFieldsObject(Datalib.EntityType relatedEntityType)
{
return ModelInfoProviderSingleton.GetInstance().GetEntityFields(relatedEntityType.ToString());
}
}
}