public ObjectResult ChattingRoom_Select_ChattingRoomInfo(string chattingRoomId) { return ((IObjectContextAdapter)this).ObjectContext.ExecuteStoreQuery( "dbo.[ChattingRoom_Select_ChattingRoomInfo] @ChattingRoomId", new object[] { new SqlParameter("@ChattingRoomId", chattingRoomId) } ) ?? (ObjectResult)Convert.ChangeType(new ChattingRoom_Select_ChattingRoomInfo_Result(), typeof(ObjectResult)); }
데이터 생성] using (var ctx = new SchoolContext()){Student stud = new Student() { StudentName = "jangjeonghun" };Standard standard = new Standard() { StandardName = "standardName" }; ctx.Students.Add(stud);ctx.Standards.Add(standard); ctx.SaveChanges();} 데이터 호출] //Querying with LINQ to Entities using (var context = new SchoolDBEntities()) { var L2EQuery = context.Students.where(s => s.StudentName == ..
도구 -> NuGet 패키지 관리자 -> 패키지 관리자 콘솔* 패키지는 프로젝트 단위로 설치가된다. A 프로젝트에 entityframework를 설치했다고해서 B 프로젝트에도 entityframework가 설치되는것은 아니다. PM> Install-Package EntityFramework설명 : 엔티티 프레임워크를 설치한다. PM> enable-migrations설명 : 엔티티 프레임워크를 이용한 DataBase 마이그레이션을 허용한다. PM> add-migration editDBinfo(별칭)설명 : DataBase 마이그레이션을 위한 정보를 생성한다. PM> update-database설명 : "add-migration"을 이용하여 생성한 정보를 DataBase에 반영한다. PM> update-da..
- Total
- Today
- Yesterday
- MainActor
- In App Purchase
- await
- mssql
- Task
- 명령어
- 공백제거
- 아이폰
- 진수 변환
- hyper-v
- App Store
- 특정 문자를 기준으로 자르기
- system.io
- 문자 자르기
- 제품 등록
- 앱 스토어
- .submit()
- FileUpload
- trim
- html tag
- 상품 등록
- System.Diagnostics
- nl2br
- async
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |