优化
This commit is contained in:
parent
f99d50d1cd
commit
a58c8c9fda
|
@ -12,7 +12,7 @@ namespace CalendarNotepad.Extends
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ConnectionConfig GetConfig() => new ConnectionConfig {
|
public static ConnectionConfig GetConfig() => new() {
|
||||||
DbType = DbType.Sqlite,
|
DbType = DbType.Sqlite,
|
||||||
ConnectionString = AppConfig.SqliteFileName,
|
ConnectionString = AppConfig.SqliteFileName,
|
||||||
IsAutoCloseConnection = false,
|
IsAutoCloseConnection = false,
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
namespace CalendarNotepad.Models
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
|
namespace CalendarNotepad.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 工作记录单元
|
/// 工作记录单元
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Table("WorkUnit")]
|
||||||
public class WorkUnit
|
public class WorkUnit
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user