aggregate
How should I implement my Repository (DDD) in C# to handle multiple calls for the same Aggregate Root
What class in my project should responsible for keeping track of which Aggregate Roots have already been created so as not to create two instances for the same Entity. Should my repository keep a list[详细]
2023-02-09 21:57 分类:问答Simple aggregate root and repository
I\'m one of many trying to understand the concept of aggregate roots, and I think that I\'ve got it! However, when I started modeling this sample project, I quickly ran into a dilemma.[详细]
2023-02-09 14:57 分类:问答Aggregate Root references other aggregate roots
I\'m currently working a lot with DDD, and I\'m facing a problem when loading/operating on aggregate roots from other aggregate roots.[详细]
2023-02-09 04:07 分类:问答Mysql min function on a column and an integer
I\'ve got a table which contains a column named size. I want with a min function to find the min value of size and a set of integer.[详细]
2023-02-08 07:31 分类:问答SQL CLR aggregate parameters
Here is an example of using a SqlUserDefinedAggregate: http://msdn.microsoft.com/en-us/library/91e6taax(v=vs.80).aspx[详细]
2023-02-07 13:51 分类:问答Error with custom aggregate function for a cast() call in R reshape2
I want to use R to summarize numerical data in a table with non-unique rownames to a result table with unique row-names with values summarized using a custom function. The summarization logic is: use[详细]
2023-02-07 03:42 分类:问答Convert Sum to an Aggregate product expression
I have this expression: group i by i.ItemId into g select new { Id = g.Key, Score = g.Sum(i => i.Score)[详细]
2023-02-06 01:10 分类:问答AggregateException ctor DefaultMessage Error on one machine but not the other
I have just tested a C# program that does some threaded processing. On my own PC which runs win7 (32-bit) the program runs fine, but when I try it on a 64bit Windows Server 2008 Machine, the same prog[详细]
2023-02-05 23:05 分类:问答Aggregate class extending base class - Violation of LSP?
The Liskov Substitution Principle (LSP) on Wikipedia Say I have a Alien class with an numFingers attribute*.Occasionally, I need to pull the sum of the numFingers from the database, grouped by othe[详细]
2023-02-05 20:09 分类:问答Aggregate() example in R
I was looking at the help page for the aggregate function in R. I had never used this convenience function but I have a process it should help me speed up. However, I\'ve been totally unable to walk t[详细]
2023-02-05 14:23 分类:问答