コード例 #1
0
        public override IEntity Copy()
        {
            t_system_authority model = new t_system_authority();

            model.authorityId_     = this.authorityId;
            model.authorityName_   = this.authorityName;
            model.pageId_          = this.pageId;
            model.authorityIconId_ = this.authorityIconId;
            model.authoritySource_ = this.authoritySource;
            model.authorityStatus_ = this.authorityStatus;
            return(model);
        }
コード例 #2
0
        public override IEntity SetModel(DataRow dataRow)
        {
            t_system_authority model = new t_system_authority();

            model.authorityId_     = dataRow["authorityId"] as string;
            model.authorityName_   = dataRow["authorityName"] as string;
            model.pageId_          = dataRow["pageId"] as string;
            model.authorityIconId_ = dataRow["authorityIconId"] as string;
            model.authoritySource_ = dataRow["authoritySource"] as string;
            model.authorityStatus_ = dataRow["authorityStatus"] as string;

            return(model);
        }