Beispiel #1
0
        public ReturnInfo GetUserByUserName(SmartDB dbInstance, string UserName)
        {
            IInfo record = _dal.GetRecordsByUserName(dbInstance, UserName);

            return(new ReturnInfo
            {
                BizObject = ((record.Code == ErrorEnum.NoError) ? record.BizObject : null),
                Code = record.Code,
                Message = record.Message,
                RowsAffected = record.RowsAffected
            });
        }