Exemple #1
0
 public static AquaTypeModel ConfigureRemoteLinqDynamicQueryTypes(this AquaTypeModel typeModel)
 => typeModel
 .AddTypeSurrogate <ConstantQueryArgument, ConstantQueryArgumentSurrogate>()
 .AddType <QueryableResourceDescriptor>()
 .AddTypeSurrogate <VariableQueryArgument, VariableQueryArgumentSurrogate>()
 .AddTypeSurrogate <VariableQueryArgumentList, VariableQueryArgumentListSurrogate>();
 public static AquaTypeModel ConfigureAquaDynamicTypes(this AquaTypeModel typeModel)
 => typeModel
 .AddTypeSurrogate <DynamicObject, DynamicObjectSurrogate>()
 .AddTypeSurrogate <Property, PropertySurrogate>()
 .AddType <PropertySet>()
 .AddType <DynamicObjectArraySurrogate>(t => t[1].SupportNull = true);