更改null操作
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Yi.Framework.Model.Base
|
||||
{
|
||||
public class Entity<Key> : IEntity<Key>
|
||||
{
|
||||
public Key Id { get; set; }
|
||||
public Key Id { get; set; }=default(Key)!;
|
||||
|
||||
public object[] GetKeys()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user