コード例 #1
0
        internal static SystemDepartmentPostRoleRelationWrapper ConvertEntityToWrapper(SystemDepartmentPostRoleRelationEntity entity)
        {
            if (entity == null)
            {
                return(null);
            }

            if (entity.Id == 0)
            {
                return(null);
            }

            return(new SystemDepartmentPostRoleRelationWrapper(entity));
        }
コード例 #2
0
 internal SystemDepartmentPostRoleRelationWrapper(SystemDepartmentPostRoleRelationEntity entityObj)
     : base(entityObj)
 {
 }