I what use Join in Linq.js, Is Different with C#?
var table = from c in ctx.Users
join p in ctx.Structure
on c.StructureID equals p.StructureID.ToString()
w...
Id #5161 | Release:
None
| Updated: May 7 at 6:56 AM by lxp270 | Created: May 7 at 6:46 AM by lxp270
var obj1 = {
f: function () {
return "a";
}
};
Enumerable.From(obj1)
In the sample above with an object containing a function.
The function will be discarded from the enumeration ...
Id #5160 | Release:
None
| Updated: Feb 10 at 7:12 PM by andhaug | Created: Feb 10 at 7:12 PM by andhaug
Right now the Enumerable.ToObject() method (and possibly ToDictionary and ToLookup) do not provide an index argument for the key and value selectors. Providing this (as is done in Select), would be...
Id #5159 | Release:
None
| Updated: Feb 5 at 4:33 PM by MgSam | Created: Feb 5 at 4:33 PM by MgSam
Right now the Dictionary class used in linq.js is fairly basic and not all that useful over a vanilla object. It also has the major drawback in that it can only use strings as keys. A more generic ...
Id #5158 | Release:
None
| Updated: Feb 5 at 4:30 PM by MgSam | Created: Feb 5 at 4:30 PM by MgSam
Given an object used as a plain key value dictionary, Enumerable.From will fail to consider any keys whose values are an observableArray. For example:
Enumerable.From({ 'example': ko.observableAr...
Id #5157 | Release:
None
| Updated: Jan 22 at 6:48 AM by neuecc | Created: Dec 13, 2012 at 12:39 PM by bytenik
Hi!
I think that, in order to increase performance, you should stop the Any search when an element matches the condition. For example:
var list=[{id:1},{id:2},{id:3}];
Enumarable.From(list).Any(...
Id #5156 | Release:
None
| Updated: Dec 14, 2012 at 4:51 PM by neuecc | Created: Dec 9, 2012 at 9:37 PM by wikimetal
For plugin developers, it is better to expose internal functions, like following:
Enumerable.Utils.blank = Functions.Blank;
Enumerable.Utils.alwaysTrue = Functions.True;
Enumerable.Utils.identit...
Id #5155 | Release:
None
| Updated: Oct 27, 2012 at 1:01 AM by mogami | Created: Oct 27, 2012 at 1:01 AM by mogami
It would be nice to support AMD pattern, because jQuery it does.
Id #5154 | Release:
None
| Updated: Aug 13, 2012 at 1:46 PM by adimkov | Created: Aug 5, 2012 at 7:18 AM by adimkov
Trying to do some where statements in a JSON object that doesn't work. Please see code...
thx
Ralph
Id #5153 | Release:
None
| Updated: Aug 5, 2012 at 4:20 PM by neuecc | Created: Aug 3, 2012 at 1:26 PM by gordingin
deepEqual((Enumerable.from([1, 2, 3, 4, 5]).letBind(function(a) {
return Enumerable.from(a).zip(Enumerable.from(a).skip(1), function(x, y) {
return x + ':' + y;
...
Id #5152 | Release:
None
| Updated: Jul 24, 2012 at 5:36 PM by neuecc | Created: Jul 21, 2012 at 2:59 PM by erikkallen