Dear Nik,
Here is the sample code to call sp:
public static List<DTO.TemplateTypeStyleSizePrice> Get(long templateTypeId,
long? templateStyleId)
{
List<DTO.TemplateTypeStyleSizePrice> table = null;
DTO.SmallPrintProContext dataContext =
DAL.ContextFactory.Create();
* table =
dataContext.ExecuteQuery<DTO.TemplateTypeStyleSizePrice>(String.Format("call
SelectTemplateTypeStyleSizePrice({0},{1})", templateTypeId,
templateStyleId)).ToList();*
return table;
}
if you have any concerns please let me know.
Best Regards,
On Wed, Jun 2, 2010 at 8:17 AM, Nik <[email protected]> wrote:
> Hi,
>
> Can any body give me a sample example of calling stored procedure from
> DB Linq for mysql database. I am using DBLinq 0.20 version.
>
> Thanks & Regards,
> Nik.
>
> --
> 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]<dblinq%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/dblinq?hl=en.
>
>
--
Best Regards,
Muhammad Niaz
Sr. Software Engineer
BITLogix (Pvt) Limited
www.ebitlogix.com | ( +9242 3577 4941-3 ) | +92 321 569 4195 |
[email protected]
702 Al-Hafeez Shopping Mall,
Main Boulevard Gulberg, Lahore
--
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.