class anyClass
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[MaxLength(100)]
public string field { get; set; }
}
在SQLite中,
对于字段长度为 25 个字符的对象,它会占用 25 个字符的空间还是总是为字段的MaxLength获取空间?
class anyClass
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[MaxLength(100)]
public string field { get; set; }
}
在SQLite中,
对于字段长度为 25 个字符的对象,它会占用 25 个字符的空间还是总是为字段的MaxLength获取空间?