2021年7月28日 星期三

placeholder css

ex: 設定輸入方塊文字大小,連同提示文字
input,input::-webkit-input-placeholder {
 font-size:2em;
}

Entity Framework 建立新物件並儲存後馬上取得關聯資料

使用 CreateProxy 建立物件,不要直接 new var newmodel = _contextXXX.CreateProxy<yyy>(); ... _contextXXX.yyy.Add(newmodel); await _contextXXX.SaveC...