Beispiel #1
0
        public override IEntity Copy()
        {
            t_user_usergroup model = new t_user_usergroup();

            model.uUserGroupId_ = this.uUserGroupId;
            model.userId_       = this.userId;
            model.userGroupId_  = this.userGroupId;
            model.remark_       = this.remark;
            return(model);
        }
Beispiel #2
0
        public override IEntity SetModel(DataRow dataRow)
        {
            t_user_usergroup model = new t_user_usergroup();

            model.uUserGroupId_ = dataRow["uUserGroupId"] as string;
            model.userId_       = dataRow["userId"] as string;
            model.userGroupId_  = dataRow["userGroupId"] as string;
            model.remark_       = dataRow["remark"] as string;

            return(model);
        }