Click here to Skip to main content
15,887,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 11:20
professionaljkirkerx7-Jul-15 11:20 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 11:27
professionaljkirkerx7-Jul-15 11:27 
GeneralRe: Data Access Layer, returning data Pin
Dave Kreskowiak7-Jul-15 14:54
mveDave Kreskowiak7-Jul-15 14:54 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx8-Jul-15 12:46
professionaljkirkerx8-Jul-15 12:46 
GeneralRe: Data Access Layer, returning data Pin
Dave Kreskowiak8-Jul-15 14:56
mveDave Kreskowiak8-Jul-15 14:56 
AnswerRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
jkirkerx7-Jul-15 14:04
professionaljkirkerx7-Jul-15 14:04 
GeneralRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
Dave Kreskowiak7-Jul-15 15:09
mveDave Kreskowiak7-Jul-15 15:09 
GeneralRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
jkirkerx8-Jul-15 6:45
professionaljkirkerx8-Jul-15 6:45 
Dave Kreskowiak wrote:
Uhhhh, what does this have to do with a Count or a list of movies?

This is just the start of the experiment. This is for a movie index, with page numbers and show selections. I have to calculate the start index and stop index.
Dave Kreskowiak wrote:
Do you think this is because the database was already existing, and it's related to Code First.

This is new to me, I read the term a couple of times. I did have to delete a column and recreate it for the "Invalid Column Name" error.
The database is 7 years old, but has been changed 3 times.
Dave Kreskowiak wrote:
Uhhhh, what does this have to do with a Count or a list of movies?

That is just a small snippet, a loop that builds the a cell for the movie information.

This is what I get back in the program that calls the function to load the Movie records. I thought I would get a data set back, but it looks like a some sort of query that is ready to go, but just needs to be executed or something.

Sorry I sound so dumb on this, but this is the 2nd time I've done this. the first time, someone else wrote the DAL dll and the database, and I just wrote the Linq for it in a windows app.

Hey thanks for helping me and steering me straight on this. If I could just get something working, even just the count, then everything should come together on the mechanics of it.
{SELECT 
    [Extent1].[MovieID] AS [MovieID], 
    [Extent1].[MovieName] AS [MovieName], 
    [Extent1].[MovieType] AS [MovieType], 
    [Extent1].[MovieDeliveryType] AS [MovieDeliveryType], 
    [Extent1].[MoviePath] AS [MoviePath], 
    [Extent1].[MovieURL] AS [MovieURL], 
    [Extent1].[MoviePostage] AS [MoviePostage], 
    [Extent1].[MovieThumbnail] AS [MovieThumbnail], 
    [Extent1].[MovieLarge] AS [MovieLarge], 
    [Extent1].[MoviePlaceHolder] AS [MoviePlaceHolder], 
    [Extent1].[MovieBitRate] AS [MovieBitRate], 
    [Extent1].[MovieTime] AS [MovieTime], 
    [Extent1].[MovieSize] AS [MovieSize], 
    [Extent1].[MovieDescription] AS [MovieDescription], 
    [Extent1].[MovieCount] AS [MovieCount], 
    [Extent1].[MovieContributor] AS [MovieContributor], 
    [Extent1].[MoviePostDate] AS [MoviePostDate], 
    [Extent1].[MovieIcon] AS [MovieIcon], 
    [Extent1].[movie_Parameters] AS [movie_Parameters]
    FROM [dbo].[MOVIEINFO] AS [Extent1]
    WHERE 1 = [Extent1].[flv]
    ORDER BY [Extent1].[MovieName] ASC}

GeneralRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
jkirkerx8-Jul-15 7:40
professionaljkirkerx8-Jul-15 7:40 
GeneralRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
Dave Kreskowiak8-Jul-15 9:58
mveDave Kreskowiak8-Jul-15 9:58 
GeneralRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
jkirkerx8-Jul-15 10:37
professionaljkirkerx8-Jul-15 10:37 
GeneralRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
Dave Kreskowiak8-Jul-15 11:15
mveDave Kreskowiak8-Jul-15 11:15 
GeneralRe: How to load a single record, and with a join Pin
jkirkerx9-Jul-15 9:08
professionaljkirkerx9-Jul-15 9:08 
GeneralRe: How to load a single record, and with a join Pin
Dave Kreskowiak9-Jul-15 12:08
mveDave Kreskowiak9-Jul-15 12:08 
GeneralRe: How to load a single record, and with a join Pin
jkirkerx9-Jul-15 12:31
professionaljkirkerx9-Jul-15 12:31 
QuestionPrint RDLC without preview using VB.NET Pin
emmapaq6-Jul-15 10:00
emmapaq6-Jul-15 10:00 
QuestionExcel VBA Function runtime error 1004: Application-defined or object-defined error Pin
Member 118122063-Jul-15 11:57
Member 118122063-Jul-15 11:57 
SuggestionRe: Excel VBA Function runtime error 1004: Application-defined or object-defined error Pin
Richard MacCutchan3-Jul-15 21:28
mveRichard MacCutchan3-Jul-15 21:28 
QuestionPublic Delegate Sub Action(Of T) (obj As T) Pin
Member 1171394230-Jun-15 20:23
Member 1171394230-Jun-15 20:23 
AnswerRe: Public Delegate Sub Action(Of T) (obj As T) Pin
Richard MacCutchan30-Jun-15 21:21
mveRichard MacCutchan30-Jun-15 21:21 
QuestionFirstData G4 V14 HMAC Header Pin
jkirkerx29-Jun-15 13:47
professionaljkirkerx29-Jun-15 13:47 
AnswerRe: FirstData G4 V14 HMAC Header Pin
Jörgen Andersson29-Jun-15 20:17
professionalJörgen Andersson29-Jun-15 20:17 
GeneralRe: FirstData G4 V14 HMAC Header Pin
jkirkerx30-Jun-15 6:49
professionaljkirkerx30-Jun-15 6:49 
GeneralConclusion - XMLWriter, UTF16 and XML empty element short form. Pin
jkirkerx5-Jul-15 8:54
professionaljkirkerx5-Jul-15 8:54 
AnswerRe: FirstData G4 V14 HMAC Header - Issue 1: Pin
jkirkerx30-Jun-15 11:10
professionaljkirkerx30-Jun-15 11:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.