コード例 #1
0
		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;
		}
コード例 #2
0
 protected override void OnPreRender() {
     if (Builder == null) {
         Builder = new TableBuilder(SourceTable, this);
         Debug.WriteLine("Builder created in OnPreRender");
     }
     base.OnPreRender();
 }