// ===============================================================================
        //                                                                            Copy
        //                                                                            ====
        public OutsideSqlOption CopyOptionWithoutPaging()
        {
            OutsideSqlOption copyOption = new OutsideSqlOption();

            copyOption.setPagingSourceRequestType(_pagingRequestType);
            if (IsDynamicBinding)
            {
                copyOption.DynamicBinding();
            }
            copyOption.TableDbName = _tableDbName;
            return(copyOption);
        }
Beispiel #2
0
        // ===============================================================================
        //                                                                      Unique Key
        //                                                                      ==========
        public static String GenerateSpecifiedOutsideSqlUniqueKey(String methodName, String path, Object pmb, OutsideSqlOption option, Type resultType)
        {
            String pmbKey             = (pmb != null ? pmb.GetType().Name : "null");
            String resultKey          = (resultType != null ? resultType.ToString() : "null");
            String tableDbName        = option.TableDbName;
            String generatedUniqueKey = option.GenerateUniqueKey();

            return(tableDbName + ":" + methodName + "():" + path + ":" + pmbKey + ":" + generatedUniqueKey + ":" + resultKey);
        }