返回列表 回復 發帖

jordans shoes onlineihbP

I'm not sure what,accurate you're trying to accomplish here,merely EF has about no extensbility points. The best you can do is hook into the ObjectMaterialized accident fired according ObjectContext. You will be able to way your object which unfortunately has yet been materialized. The only workaround would involve 1) Making this constructor internal, and afterward two Making this constructor cry the constructor that HAS arguments that are resolved according your IoC container. This unfortunately pollutes your POCO with IoC concerns. anon Jan 20 '11 along 3:33
I see the benefits to both sides (and in a way argued either sides). I do tend to reserve easy validation among the objects, so in that sense I infer they aren strictly attribute bags,jordans shoes online,merely whether 1 entity namely complicated enough, putting the affair logic aspiration instantly bloat the class and it can now accident over 1,000 lines of code (I seen it happen a lot). When I think of the words happening logic" I tend to celine nano bag nike atmosphere max 90 think of a complicated array of rules,whether that the case I choose a separate class,whether it is simply validation,afterward putting that amid the class seems reasonable. Always loved Black Mage! Brian Ball Jan 20 '11 by 3:56
You can throw out terms favor"anemic data prototype and quote folk such for Fowler alternatively the likes,but after all I seen far more successful systems written where complex happening logic namely contained outside of the prototype after systems where it is all mangled splice and hard to maintain. celine boston bag The true mulberry daria amount of anybody system namely how well it serves its users,not whether it follows various programming principles. I never anti-principles,only real world scenarios always outweigh theory for distant because I concerned. Brian Ball Jul 26 '11 at 12:37
I think EF code 1st CTP 5 can celine grab be of some assistance bayswater mulberry bag It honours IValidatableObject interface,nike free run 2, which takes ValidationContext entity because one argument The ValidationContext namely a ServiceLocator so you should be capable to nike atmosphere max 1 get the instance of the IoC container using the validationContext object (This is equitable my initial thought, I haven't mulberry bags sale tried anything although Sorry,whether my English is not quite understandable.
Update
Sorry,equitable after I posted this explain I realized that the question is quite vary than what I understood. So, I did attempt few things myself,nike free run 3, and backward some strike and trial and much more googling I was experienced to acquire elsewhere I was planning to post the answer here,only afterward thought against it,air max 90, since the answer would be quite long. So,cheap jordans shoes, I did post this blog instead.
Related articles:

  
   air max 95I740
  
   cheap air maxwfea
  
   jordans for salevdXj
返回列表