优化
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,
|
||||
ConnectionString = AppConfig.SqliteFileName,
|
||||
IsAutoCloseConnection = false,
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
namespace CalendarNotepad.Models
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace CalendarNotepad.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作记录单元
|
||||
/// </summary>
|
||||
[Table("WorkUnit")]
|
||||
public class WorkUnit
|
||||
{
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user