Click here to Skip to main content
16,020,313 members

Comments by Member 10821588 (Top 1 by date)

Member 10821588 23-Jul-14 17:42pm View    
View:
On view _id is displayed as an Object with (CreationTime, Increment, Machine, Pid, Timestamp) values.

<td ng-repeat="i in c._id" ng-bind="i"></td>
which gives me
/Date(1406125150000)/ 12444882 9194686 6460 1406125150

while the actual data of _id is ObjectId("53cfc45e8c4cbe193cbde4d2") in MongoDB

Controller:

public void save( ItemModel IM)
{
ItemModel.Save(IM);
}

Here, While debugging, I found the value of _id as {000000000000000000000000}
When we drill down _id to find its variable values, all are set to 0 as below

CreationTime = {1/1/1970 12:00:00 AM}
Increment = 0
Machine = 0
Pid = 0
Timestamp = 0