コード例 #1
0
        protected override void ConfigureQuery(CustomQueryConfiguration config)
        {
            base.ConfigureQuery(config);

            config.ModelBuilderType = IsComplexDataModel(typeof(TResult)) ?
                                      typeof(DefaultModelBuilder <TResult>) :
                                      typeof(ScalarValueBuilder <TResult>);
        }
コード例 #2
0
ファイル: CustomQuery.cs プロジェクト: zeone/pdfServiceAWS
 protected virtual void ConfigureQuery(CustomQueryConfiguration config)
 {
     // default behavior is to handle parameters
     // by inserting them into SqlCommand objects
     config.UseDefaultParameterHandling = true;
 }