public static void Update() { using (EntityUtility db = new EntityUtility()) { db.DeleteAll("delete from tb_type"); //AddDatas(db, typeof(PageEnum), EnumType.Type_01.GetValue()); AddDatas(db, typeof(EnumLevel), EnumType.Type_02.GetValue()); AddDatas(db, typeof(EnumDevType), EnumType.Type_03.GetValue()); AddDatas(db, typeof(EnumLanguage), EnumType.Type_04.GetValue()); AddDatas(db, typeof(EnumMessage), EnumType.Type_05.GetValue()); } }