예제 #1
0
        public void AccoutDtoTest()
        {
            var dto = new AccountDto()
            {
                BindingMobile = "13456323232",
                UserId        = 100345124,
                UserName      = "******"
            };
            var record = new LoginNameRecord();

            dto.GetLoginNamesFromRecord(record);
        }
예제 #2
0
 public static void GetLoginNamesFromRecord(this AccountDto dto, LoginNameRecord record)
 {
     _loginNamesMapper.Value(dto, record);
 }