I'm getting null exception even on db.table.count also.
System.ArgumentNullException was unhandled
Message=Value cannot be null.
Parameter name: source
Source=System.Core
ParamName=source
StackTrace:
at System.Linq.Queryable.Count[TSource](IQueryable`1 source)
at ConsoleApplication1.Program.Main(String[] args) in E:\test
projects\dblinqTest\ConsoleApplication1\Program.cs:line 22
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,
String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Sharique uddin Ahmed Farooqui
http://safknw.blogspot.com/
"Peace" is the Ultimate desire of mankind.
On Fri, Aug 12, 2011 at 10:45 AM, Sharique <[email protected]> wrote:
> I'm doing the same thing bu getting Nullrefrerence exception on
> InsertOnSubmit.
> I have manually created mappings.
> --Sharique
>
>
> On Aug 6, 8:34 pm, Gia Han Tran <[email protected]> wrote:
>> You can go
>> therehttp://yosanai.com/linq-mysql/sample-console-application-using-dblinq
>>
>> On Jul 28, 9:52 pm, Sharique <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Hi,
>>
>> > I have manually created the mapping classes as described in this blog
>> > post.http://blogs.msdn.com/b/spike/archive/2010/01/08/how-to-use-linq-to-s...
>>
>> > This is working fine with Sql server. Now how I can make it work with
>> > MySql ?
>>
>> > -----
>> > Sharique A Farooqui
>
> --
> You received this message because you are subscribed to the Google Groups
> "DbLinq" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/dblinq?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en.