17.07.2015 Views

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: <strong>FILESTREAM</strong> with Entity Framework and LINQ to <strong>SQL</strong>Figure 4-14:Adding a LINQ to <strong>SQL</strong> class.Click Add to add the class to the current project. This will open the ObjectRelational Designer. <strong>The</strong> designer window will be empty because we have notyet done any mapping.Defining object relational mappings<strong>The</strong> next step is to define object relational mappings for the Items table. Open the <strong>Server</strong>Explorer window by clicking the <strong>Server</strong> Explorer hyperlink in the Object RelationalDesigner window (Figure 4-15).159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!