I don't know much wcf and almostzero db and ef but: could it be a solution to create a view in the db containing the calculated properties and generate the pocos from the view?
@Bracketworks when you add a service reference, click "advanced", in the reuse types in reference assemblies, make sure the common objects shared by both client and server is in the listbox and tick it
@rlemon - If I use this code: λ.GlobalEvents = function(){ if (!(this instanceof GlobalEvents)) return new GlobalEvents(); return this; };
Will it allow me to do this? λ.GlobalEvents();//initalize global events λ.GlobalEvents().Off();//call method on initialized global events object all calls will go to one instance (no uniqueness)
var lib = function() {
this.fn = {
};
// then if you wanna be like jQuery you write an init that gets called to clone all of the fn prototypes to the top level object.
};
I haven't had any issues with scoping in closures though. But what I need to do is this with globalevents: (function(){ var evnt = function(){ code1 }; λ.GlobalEvents().AddEvent(evnt); })();
(function(){ var evnt = function(){ code2 }; λ.GlobalEvents().AddEvent(evnt); })();
and have globalevents end up with one instance that contains both of those callbacks added
Why am I more productive while programming when I am sleep-deprived?
When I haven't slept for 20 or more hours, I've always noticed that my overall concentration and creativity is at a much higher level than when I am "well rested".
Take a look at the "Areas" concept, and see if that fits what you want to do. http://msdn.microsoft.com/en-us/library/ee671793(v=vs.100).aspx
I don't have a good link for it. That's just a quick MSDN one that I found on the topic. You can probably find something easier to read, though.
If that's not what you want, then you can start messing around with defining different Routes. I went down that route with one application that I am building, because I wanted to have URLs structured like mysite.com/controller/id1/action/id2, but that has become a little messy.
In my wpf application i have extended the datatrigger class as below
public class DescriptiveTrigger : System.Windows.DataTrigger
{
public DescriptiveTrigger()
{
}
private String _Description = "";
public String Description
{
get { return _Description; }
...
Me: Lead, I don't understand what this method in the contract is supposed to do. Lead: Well, take a look at how I've used it in XYZ class. XYZ class: throw new NotImplementedException();
I'm curious what those UI's are going to be for. If you don't know exactly how you're going to implement it, then you should be worrying about that, not fancy editors.
Does anybody know of any eye-tracking software that moves window focus depending on where you're looking... just I'm fed up of pressing Ctrl+S and saving the webpage (on monitor 2) I'm on instead of my code in VS (on monitor 1)