public static string SqlMethodString(TableBuilder builder,string method,DaoImplOption daoImplOption) { string methodString = string.Empty; if(daoImplOption.UseSqlMapperForSqlMethod) { methodString = daoImplOption.SqlMethodPrefix + builder.SqlMapper + "." + method; } else { methodString = daoImplOption.SqlMethodPrefix + method; } return methodString; }
protected override void OnPreRender() { if (Builder == null) { Builder = new TableBuilder(SourceTable, this); Debug.WriteLine("Builder created in OnPreRender"); } base.OnPreRender(); }