mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 完善 [Column(MapType = typeof(byte[]))] 对 Guid/string 的映射支持;
This commit is contained in:
@ -108,12 +108,14 @@ namespace FreeSql.Tests
|
||||
.NoneParameter().ExecuteAffrows();
|
||||
|
||||
var slslsl = g.oracle.Select<SendInfo>().ToList();
|
||||
var slsld1 = g.oracle.Select<SendInfo>().Where(a => a.ID == Guid.Parse("8D9C135E7FEBC41C00BE241C1771FF97")).ToList();
|
||||
var slsld2 = g.oracle.Select<SendInfo>().Where(a => a.ID == slsld1[0].ID).ToList();
|
||||
}
|
||||
|
||||
[Table(Name = "t_text")]
|
||||
public class SendInfo
|
||||
{
|
||||
[Column(IsPrimary = true)]
|
||||
[Column(IsPrimary = true, DbType = "raw(16)", MapType = typeof(byte[]))]
|
||||
public Guid ID { get; set; }
|
||||
|
||||
[Column(Name = "YPID5")]
|
||||
|
Reference in New Issue
Block a user