Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Task: Designer: remove behavior [1309]

$
0
0
Behavior related things are not public and don't have any real implementation. They make code super complicated and does things that slow down the designer (e.g. we read from file system where we otherwise probably would not). Reading from files blocks unit testing some code (e.g. VSArtifact)

After behavior related code is removed enable (and possibly fix) VSArtifactTests.
Comments: IDontLikeYourBehavior I - removing behavior related code (changeset #75c6323) Behavior related code is not used by the EF Designer but it is touching a lot of places and is making the code hard to read and to test. We also read files from disk to be able to pass the contents to behavior classes which makes the designer slow and again makes it harder to write tests. This is the first part of behavior removal - removing IEntityViewModelBehavior. IDontLikeYourBehavior II - removing IModelBehavior interface and related code (changeset #e350a21) IDontLikeYourBehavior III - removing IEnableCommandBehavior (changeset #f71d6e3) IDontLikeYourBehavior IV - Behave no more (changeset #d42c1de)

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>