mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 优化 支持动态操作 .IncludeByPropertyName 之后的 then.WhereDynamicFilter 操作;
This commit is contained in:
		
							
								
								
									
										36
									
								
								Examples/base_entity/AspNetRoleClaims/AspNetUserTokens.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								Examples/base_entity/AspNetRoleClaims/AspNetUserTokens.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
using FreeSql.DataAnnotations;
 | 
			
		||||
using Newtonsoft.Json;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
#nullable disable
 | 
			
		||||
 | 
			
		||||
namespace Densen.Models.ids
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// 用户令牌
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    [JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
 | 
			
		||||
    public partial class AspNetUserTokens
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
        [DisplayName("用户ID")]
 | 
			
		||||
        [JsonProperty, Column(StringLength = -2, IsPrimary = true, IsNullable = false)]
 | 
			
		||||
        public string UserId { get; set; }
 | 
			
		||||
 | 
			
		||||
        [DisplayName("名称")]
 | 
			
		||||
        [JsonProperty, Column(StringLength = -2, IsNullable = false)]
 | 
			
		||||
        public string Name { get; set; }
 | 
			
		||||
 | 
			
		||||
        [DisplayName("外部登录提供程序")]
 | 
			
		||||
        [JsonProperty, Column(StringLength = -2, IsNullable = false)]
 | 
			
		||||
        public string LoginProvider { get; set; }
 | 
			
		||||
 | 
			
		||||
        [DisplayName("值")]
 | 
			
		||||
        [JsonProperty, Column(StringLength = -2)]
 | 
			
		||||
        public string Value { get; set; }
 | 
			
		||||
 | 
			
		||||
        [Navigate(nameof(UserId))]
 | 
			
		||||
        public virtual AspNetUsers AspNetUsers { get; set; }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user