Comments (3)
Are you talking about something like:
var result = tbl.Query("SELECT * FROM Articles a INNER JOIN Comments C on a.commentid = C.CommentID");
from massive.
Hi,
Hmm I guess yes! I thought I could somehow do this:
var article = // get the article
article.Comments.
Also, how do I insert Comments into the Comments table. I guess I have to
use a query with the Insert command.
On Thu, Jun 16, 2011 at 12:52 PM, DataChomp <
[email protected]>wrote:
Are you talking about something like:
var result = tbl.Query("SELECT * FROM Articles a INNER JOIN COMMENTS C on
a.commentid = C.CommentID");Reply to this email directly or view it on GitHub:
#60 (comment)
Mohammad Azam
MVP (Most Valuable Professional)
www.highoncoding.com
www.azamsharp.com
Check out my iPhone app "ABC Pop" *
http://itunes.apple.com/us/app/abc-pop/id392527680?mt=8*http://itunes.apple.com/us/app/abc-pop/id392527680?mt=8
from massive.
If you want that you can create a property on Article that returns Comments for that article explicitly - I don't want to mine relationships.
from massive.
Related Issues (20)
- Query supports DbConnection (hence external transactions) but Execute doesn't HOT 4
- Massive 3? HOT 24
- Query and QueryAsync DbConnection versions are never used HOT 7
- Added further brief but detailed info on breaking API changes. HOT 1
- Misleading comment in PostgreSql limit code HOT 1
- .gitattributes is incorrect HOT 1
- MySQL currently only tests one of the two supported providers HOT 11
- Inconsistent line endings (still!) HOT 2
- I forgot to include a packages.config file in the new MySql test project... HOT 1
- SQL Server CE doesn't recognize CONCAT HOT 5
- Any solution for massive and .net core confilict? HOT 3
- A little bug fixing HOT 4
- SQL syntax error when accessing a SQLite table's Schema property HOT 4
- SQLite: Primary key property and value not populated on insert of object with auto-incrementing primary key HOT 5
- Clear confusion on readme
- Is the result supposed to be a KeyValuePair? HOT 1
- About Primarykey type
- How to call stored procedure in mssql? HOT 3
- No instance for (M.Storable (Int32, Float)) HOT 1
- Using Postgres with Massive HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massive.