是否支持只读属性和自定义构造函数? #1823
              
                Unanswered
              
          
                  
                    
                      CodingOctocat
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments
-
| 没有特意去测试,不知道是否支持,建议实体类型简洁为主 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 属性可以设置 protected set 达到只读的目的。 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我最近在使用 sqlite/orm 时遇到一些问题:
Beta Was this translation helpful? Give feedback.
All reactions