Exemple #1
0
 public JsonWithNamingPolicyResult(object data, JsonRequestBehavior_t jsonRequestBehavior
                                   , System.Text.Json.JsonNamingPolicy namingPolicy = null)
 {
     this.Data = data;
     this.JsonRequestBehavior = jsonRequestBehavior;
     this.NamingPolicy        = namingPolicy;
 }
 public JsonStreamingResult(
     SqlFactory factory
     , AnySqlWebAdmin.RenderType_t renderType
     , JsonRequestBehavior_t jsonRequestBehavior
     , string sql
     , object parameters
     )
 {
     this.m_factory      = factory;
     this.m_sql          = sql;
     this.m_parameters   = parameters;
     this.m_renderType   = renderType;
     JsonRequestBehavior = jsonRequestBehavior;
 }