Expand typed join syntax with no lock, outer and custom join types
This commit is contained in:
33
DynamORM.Tests/Helpers/TypedJoinModels.cs
Normal file
33
DynamORM.Tests/Helpers/TypedJoinModels.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user