Expand typed join syntax with no lock, outer and custom join types

This commit is contained in:
root
2026-02-26 19:49:00 +01:00
parent 15e1d9031c
commit 59ce1115ea
10 changed files with 611 additions and 47 deletions

View File

@@ -0,0 +1,33 @@
/*
* DynamORM - Dynamic Object-Relational Mapping library.
* Copyright (c) 2012-2026, Grzegorz Russek (grzegorz.russek@gmail.com)
* All rights reserved.
*/
using DynamORM.Mapper;
namespace DynamORM.Tests.Helpers
{
[Table(Name = "Users", Owner = "dbo")]
public class TypedJoinUser
{
[Column("Id_User", true)]
public long IdUser { get; set; }
[Column("Active")]
public int Active { get; set; }
}
[Table(Name = "UserClients", Owner = "dbo")]
public class TypedJoinUserClient
{
[Column("User_Id", true)]
public long UserId { get; set; }
[Column("Users")]
public string Users { get; set; }
[Column("Deleted")]
public int Deleted { get; set; }
}
}