다양한 How are you?에 대한 대답

Posted by Alvin You
2014. 3. 20. 12:39 영어공부

전화 영어를 하다보면 매일 마주치는 How are you?라는 질문에 늘상 똑 같은 대답을 반복하다가 조금은 다양한 표현을 하고 싶어서 오늘은 How are you?에 대한 대답을 정리해 봤습니다.

더 많은 표현이 있겠지만 아래 표현 정도만 알아두어도 유용하지 않을까요?

  1. I'm doing great! 아주 좋아!
  2. Never been better! 요새 최고야!
  3. Super! 좋아!
  4. I'm doing all right. 난 잘 지내고 있어.
  5. Not so great today. 오늘 쫌 그래.
  6. Not too good 그다지 좋지는 않아.
  7. A little under the weather. 컨디션이 별로야.
  8. A bit rough. 몸 상태가 별로야.
  9. A bit the worse for wear. (전날 무리를 해서)몸상태가 별로야.
  10. Much the same as yesterday. 어제랑 별반 다르지 않아.
  11. A bit better. 조금 괜찮아 졌는데 아직 몸이 좀 안좋네요.
  12. As well as can be expected. 조금 괜찮아 졌는데, 지금은 몸이 조금 찌뿌둥 하네요.
  13. I feel lousy. 몸이 정말 안 좋아요.

'영어공부' 카테고리의 다른 글

What's the ballpark figure?  (0) 2014.12.01
Punctuation 정리  (0) 2014.03.17

MvcMusicStore 프로젝트 SQL Server 적용

Posted by Alvin You
2014. 3. 20. 10:53 ASP.NET

ASP.NET의 MVC 개발 Tutorial 중 유명한 MVC Music Store를 연습해 보고 있습니다.

직접 PDF 문서에 있는 내용을 실습하면서, Data Access에 나와 있는 데이터베이스 연결 부분에 사용중인 Database가 SQL Express라 이걸 로컬에 설치되어 있는 정식 버전의 SQL Server로 적용하는 방법은 없는지 고민 끝에 방법을 찾아 공유합니다.

1) Assets/Data 폴더에 있는 MvcMusicStore-Create.sql 스크립트를 이용해 데이터베이스를 생성합니다.

2) web.config 에 있는 ConnectionString을 아래와 같이 변경해 줍니다.

<connectionStrings>

<add name="MusicStoreEntities"

connectionString="Data Source=localhost;Initial Catalog=MvcMusicStore;Integrated Security=SSPI;"

providerName="System.Data.SqlClient"/>

</connectionStrings>

 

3) PDF문서에서 global.asax에 추가하라고 했던 아래 라인을 주석 처리 합니다.

//System.Data.Entity.Database.SetInitializer(new MvcMusicStore.Models.SampleData());

 

4) MusicStoreEntities.cs에 아래 내용을 추가 합니다.

using System.Data.Entity.ModelConfiguration;

using System.Data.Entity.ModelConfiguration.Conventions;

 

namespace MvcMusicStore.Models

{

public class MusicStoreEntities : DbContext

{

public DbSet<Album> Albums { get; set; }

public DbSet<Genre> Genres { get; set; }

 

protected override void OnModelCreating(System.Data.Entity.DbModelBuilder modelBuilder)

{

modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();

}

}

}

 

실행하면 아래와 같이 Database에서 결과값을 가져와 View 뿌려지는 것을 확인 할 수 있습니다.

'ASP.NET' 카테고리의 다른 글

IDENTITY_INSERT가 OFF 오류 처리 방법  (0) 2014.03.25
ASP.NET SQL Server 설치(aspnet_regsql.exe)  (0) 2014.03.21
C#에서 get, set 자동 완성  (0) 2014.03.20

C#에서 get, set 자동 완성

Posted by Alvin You
2014. 3. 20. 09:30 ASP.NET

C#에서 Property 생성시 get, set 키워드를 자동으로 완성시켜주는 Code Snippet입니다.

Prop + [Tab] 을 치시면 아래와 같은 내용이 자동으로 채워지면서 Property 정의를 손쉽게 할 수 있습니다.

 

public int MyProperty { get; set; }