public static IEntityDefinition GetOrCreateDefinition(Type entityType) { return(EntityDefinitions.GetOrAdd(entityType, t => { return RegisterType(entityType); })); }