1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 22:37:42 +02:00

Merge pull request #793 from m90/csharp-typo

[c#/en] fix typo
This commit is contained in:
Nami-Doc
2014-10-07 21:21:18 +02:00

View File

@@ -508,7 +508,7 @@ on a new line! ""Wow!"", the masses cried";
// LINQ - maps a store to IQueryable<T> objects, with delayed execution // LINQ - maps a store to IQueryable<T> objects, with delayed execution
// e.g. LinqToSql - maps to a database, LinqToXml maps to an xml document // e.g. LinqToSql - maps to a database, LinqToXml maps to an xml document
var db = new BikeRespository(); var db = new BikeRepository();
// execution is delayed, which is great when querying a database // execution is delayed, which is great when querying a database
var filter = db.Bikes.Where(b => b.HasTassles); // no query run var filter = db.Bikes.Where(b => b.HasTassles); // no query run
@@ -767,9 +767,9 @@ on a new line! ""Wow!"", the masses cried";
/// EntityFramework Code First is awesome (similar to Ruby's ActiveRecord, but bidirectional) /// EntityFramework Code First is awesome (similar to Ruby's ActiveRecord, but bidirectional)
/// http://msdn.microsoft.com/en-us/data/jj193542.aspx /// http://msdn.microsoft.com/en-us/data/jj193542.aspx
/// </summary> /// </summary>
public class BikeRespository : DbSet public class BikeRepository : DbSet
{ {
public BikeRespository() public BikeRepository()
: base() : base()
{ {
} }