/// <summary>Initializes the <see cref="EntityFactoryFactory"/> class.</summary> static EntityFactoryFactory() { Array entityTypeValues = Enum.GetValues(typeof(SD.LLBLGen.Pro.Examples.Authorization.EntityType)); foreach (int entityTypeValue in entityTypeValues) { IEntity2 dummy = GeneralEntityFactory.Create((SD.LLBLGen.Pro.Examples.Authorization.EntityType)entityTypeValue); _factoryPerType.Add(dummy.GetType(), dummy.GetEntityFactory()); } }
/// <summary>Initializes the <see cref="EntityFactoryFactory"/> class.</summary> static EntityFactoryFactory() { Array entityTypeValues = Enum.GetValues(typeof(Northwind.EntityType)); foreach (int entityTypeValue in entityTypeValues) { IEntity2 dummy = GeneralEntityFactory.Create((Northwind.EntityType)entityTypeValue); _factoryPerType.Add(dummy.GetType(), dummy.GetEntityFactory()); } }
/// <summary>Initializes the <see cref="EntityFactoryFactory"/> class.</summary> static EntityFactoryFactory() { Array entityTypeValues = Enum.GetValues(typeof(BlazorTests.Server.Entities.EntityType)); foreach (int entityTypeValue in entityTypeValues) { IEntity2 dummy = GeneralEntityFactory.Create((BlazorTests.Server.Entities.EntityType)entityTypeValue); _factoryPerType.Add(dummy.GetType(), dummy.GetEntityFactory()); } }
/// <summary>Initializes the <see cref="EntityFactoryFactory"/> class.</summary> static EntityFactoryFactory() { Array entityTypeValues = Enum.GetValues(typeof(NinjaSoftware.EnioNg.CoolJ.EntityType)); foreach (int entityTypeValue in entityTypeValues) { IEntity2 dummy = GeneralEntityFactory.Create((NinjaSoftware.EnioNg.CoolJ.EntityType)entityTypeValue); _factoryPerType.Add(dummy.GetType(), dummy.GetEntityFactory()); } }
public static void PrintSchema(IEntity2 entity, IPrefetchPath2 prefetchPath) { if (prefetchPath != null) { PrintSchema(prefetchPath, entity.GetEntityFactory().ForEntityName); } else { PrintEntityFields(entity, 0); } }