About Me
I am a senior software developer working at KMS Technology, a software company based in Vietnam. I mainly focus on .NET technologies developing web and desktop applications.
My favorite topics are .NET Framework, C#, WCF, ORM, ASP.NET MVC, jQuery, Object Oriented Analyst and Design, Design Patterns and S.O.L.I.D principles.
Beside programming, I also like fishing, reading, and surfing the web in my spare time.
You can reach me at huynguyenonthenet at gmail dot com.
Hi Huy,
Anh là Cường, đọc blog của em thấy hay quá. Anh cũng làm về ASP.net MVC 2.0. Sắp tới anh vào HCM công tác 24-25-26-27/08/2010.
Nếu rảnh anh em mình gặp nhau nhé.
Mobile của anh 0902 2090 11
Cam on anh da quan tam. Em song o Sai Gon, neu co co hoi thi gap nhau trao doi nhe.
Doc bai cau ca cua anh em thich qua…em thich cau ca tu nhien nen thinh thoang hay rong doi tren chiec xe theo loi tien boi mo ta.
Chi co duy nhat em chua lần nào thử nghiệm câu bông lâu và đặc biệt k biết liên hệ ai để thuê ghe tàu đi lại.
ANh có thể hướng dẫn em được không? Em hay câu biển Vũng Tàu, Bình THuận…có đi Kiên Giang rồi.
Nếu được anh có thể Pm em sô ddienj thoại anh em giao lưu k? Số em 0907401594
SÀi gòn em hay câu chổ sông đoạn quận 2…
Chào bạn,
Nếu bạn ở SG thì có thể đi câu bông lau ở Lý Nhơn – Cần Giờ. Số điện thọai đặt ghe thì bạn có thể liên hệ:
Anh Nạu: 0904194008
Anh Hí: 01267865258
Khi bạn liên hệ, họ sẽ chỉ cho bạn đường đi và chuẩn bị những thứ cần thiết cho một chuyến câu bông lau.
Thân.
Hi, will you update your excellent library ef4prs to be compatible with EF 4.1 RC ?
Thanks.
Andrea
It’s done: http://huyrua.wordpress.com/2011/04/13/entity-framework-4-poco-repository-and-specification-pattern-upgraded-to-ef-4-1/.
@a.Huy,
Em đang có ý định apply vào cty KMS của anh. Anh có thể cho mình biết sơ 1 số thông tin để có sự chuẩn bị apply vào, Quy trình phỏng vấn thế nào vậy anh?
Chao ban,
Ban co the xem thong tin tuyen dung tai http://kms-technology.com/career/, neu thay co job vacancy phu hop, ban gui email den career@kms-technology.com nhe.
Hi Huy,
Thanks for your excellent post on EF 4 Code First Generic Repos. I’m just trying to get my head around it. The first thing I’ve noticed is an unused class called DBContextInitializer. I’m just wondering what your intention was with that class?
Also, I’m not entirely sure how to seed my newly created DB using your infrastucture. So in your tests project, I can see UseMyDBContextTests which used the DataSeedingInitializer:
—
Database.SetInitializer(new DataSeedingInitializer());
context = new MyDbContext(“DefaultDb”);
customerRepository = new Infrastructure.Tests.Data.Lab.CustomerRepository(context);
repository = new Infrastructure.Data.EntityFramework.Lab.GenericRepository(context);
—
The above makes sense. However, the RepositoryTests uses your infrastructure for managing multiple contexts and the model is compiled and built in DbContextBuilder:
—
DbContextManager.InitStorage(new SimpleDbContextStorage());
DbContextManager.Init(“DefaultDb”, new[] { “Infrastructure.Tests” }, true);
customerRepository = new Infrastructure.Tests.Data.Lab.CustomerRepository();
repository = new Infrastructure.Data.EntityFramework.Lab.GenericRepository();
—
Any help on seeding would be much appreciated.
Thanks.
After DbContextManager.Init() You can get the DbContext by calling:
DbContext context = DbContextManager.Current;
Seed(context); // implement Seed method to seed data