Exemplo n.º 1
0
        public static object CreateInstance(Type projectionInterfaceType, object tag = null)
        {
            var instance = Activator.CreateInstance(EntityProjectionTypeBuilder.GetProjectionType(projectionInterfaceType));

            SetTag(instance, tag);
            return(instance);
        }
Exemplo n.º 2
0
 public static Type GetProjectionType <TProjectionInterface>()
 => EntityProjectionTypeBuilder.GetProjectionType(typeof(TProjectionInterface));
Exemplo n.º 3
0
 public static Type GetProjectionType(Type projectionInterfaceType)
 => EntityProjectionTypeBuilder.GetProjectionType(projectionInterfaceType);