15,891,704 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Joshua Masa (Top 22 by date)
Joshua Masa
13-May-15 5:08am
View
So, what's the correct System name then?
Joshua Masa
8-May-15 3:37am
View
This is better.
Joshua Masa
8-May-15 3:14am
View
I know my questions are stupid and you guys are oh so great laughing at me. but who am I to seek help and learn?
Joshua Masa
8-May-15 3:13am
View
My Web Api won't accept a JSON POST like this: {"root":{"ExtSerial":"KDI2015050501","Date":"02/01/2015", ... }}
It only accepts {"ExtSerial":"KDI2015050501","Date":"02/01/2015", ... } -- this is without root.
Joshua Masa
8-May-15 3:00am
View
Here is the XML (updated on question). I just need that serialized to JSON without the root. Because after converting, I need to send that JSON to a web api with POST.
Joshua Masa
8-May-15 2:52am
View
Change question: How do I convert/Serialize my XML to JSON without including the root element?
Joshua Masa
8-May-15 2:42am
View
I know that XML needs root but my web api does not accept root. It accepts {"ExtSerial":"KDI2015050501","Date":"02/01/2015", ...} I need to pass that JSON to my web api without root.
Joshua Masa
7-May-15 12:20pm
View
Sorry, I'm confused.
Joshua Masa
29-Apr-15 21:05pm
View
AH_ODS_DB_Entities is my entities and it has models inside it. Sales model is public partial class Sales
{
public long Serial { get; set; }
public string ExtSerial { get; set; }
public string Date { get; set; }
public string CustomerRefNbr { get; set; }
public string Description { get; set; }
public string Customer { get; set; }
public double Amount { get; set; }
public string AQ_Branch { get; set; }
public string AQ_COA { get; set; }
public string LineSubAccount { get; set; }
public string LineTaxCategory { get; set; }
public int LineQuantity { get; set; }
public double LineUnitPrice { get; set; }
public int AQ_PostStatus { get; set; }
public string AQ_StatusDate { get; set; }
public string DTS { get; set; }
}
Joshua Masa
29-Apr-15 20:37pm
View
I do not get why here in code project, I ask a question and see one star? what? if you have a question anyone can answer, you get 5 stars?
Joshua Masa
29-Apr-15 20:34pm
View
I will take note of the underscore naming in the future, thank you. Sales_ is an entity of my db: private AH_ODS_DB_Entities db = new AH_ODS_DB_Entities();
Joshua Masa
29-Apr-15 12:12pm
View
On my db.Sales_.Add(Sales); It's saying it has an overload error. Its like I'm missing something.
Joshua Masa
29-Apr-15 11:33am
View
Thank you for the information. I'm not that great with the terms. But how can I pass Sales to db.Sales_.Add();? It keeps saying that it has invalid arguments.
Joshua Masa
25-Apr-15 8:55am
View
I now understand the Find() method that it is for primary keys but what about strings passed from the uri?
Joshua Masa
25-Apr-15 8:20am
View
I see. What can I use then? something like db.Transmital.ExtSerial?
Joshua Masa
25-Apr-15 7:57am
View
I tried. When I tried to GET extserial using Postman it just gets the whole table. Not sure what I'm missing.
Joshua Masa
21-Apr-15 6:17am
View
on the server's folder. It is a localDB in the app_Data in the MVC frame.
Joshua Masa
21-Apr-15 4:37am
View
Thank you. I was not able to see that while Googling though.
Joshua Masa
20-Apr-15 11:05am
View
Thank you. The count method works better for me.
Joshua Masa
20-Apr-15 10:02am
View
Basically I want to make a SELECT Serials FROM Transmital WHERE Serials = 888 using linq. Now I want what it returns to be put in a variable so I can use it in an if statement. It should return a long data since I will be comparing it to a long data from a JSON post.
Joshua Masa
20-Apr-15 9:48am
View
If I would like to return it as long? would I substitute bool to int64 perhaps?
Joshua Masa
20-Apr-15 9:22am
View
Yes, the Transmital table objects. Serial, by the way is a column in the Transmital table. I will add this in my question.
Show More