chore: 首次簽入 Thinkyu ASP.NET 專案

- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
2026-09-10 09:42:37 +08:00
commit 577060bc78
2496 changed files with 501389 additions and 0 deletions
+79
View File
@@ -0,0 +1,79 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Common;
using WebLib;
namespace Education
{
public class DAC_GetData : DAC
{
public DAC_GetData()
: base()
{ }
public DAC_GetData(DbConnection conn)
: base(conn)
{ }
public (int id)
{
DAC_場地 Dao場地 = new DAC_場地(conn);
DAC_訓練課程企劃 Dao訓練課程企劃 = new DAC_訓練課程企劃(conn);
int = Dao訓練課程企劃.Select選定場地(id);
if ( > 0)
{
List d = Dao場地.SelectOne();
if (d.Count > 0)
return d[0];
}
else
{
string = Dao訓練課程企劃.Select選定場地名稱(id);
if (!string.IsNullOrEmpty())
{
result = new ();
result. = ;
return result;
}
}
return new ();
}
public (int id, int )
{
DAC_講師 Dao講師 = new DAC_講師(conn);
DAC_訓練課程企劃 Dao訓練課程企劃 = new DAC_訓練課程企劃(conn);
int = Dao訓練課程企劃.Select選定講師(id, );
if ( > 0)
{
List d = Dao講師.SelectOne();
if (d.Count > 0)
return d[0];
}
else
{
string = Dao訓練課程企劃.Select選定講師名稱(id, );
if (!string.IsNullOrEmpty())
{
result = new ();
result. = ;
return result;
}
}
return new ();
}
public (object id, object )
{
return (DAC.GetInt32(id), DAC.GetInt32());
}
public string (string id)
{
return new DAC_BCLS().Get類別名稱(DAC_檢附資料參考.BSPAR, id).Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>");
}
}
}