codeprada's Profile User Rating: *****

Reputation: 949 Master
Group:
Mentors
Active Posts:
2,376 (1.52 per day)
Joined:
15-February 11
Profile Views:
39,272
Last Active:
User is offline May 26 2015 07:53 AM
Currently:
Offline

Previous Fields

Country:
AG
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
775
Expert In:
PHP

Latest Visitors

Icon   codeprada has not set their status

Posts I've Made

  1. In Topic: What are you working on today?

    Posted 17 Apr 2015

    Try working for the government. Loading a project takes about 10 - 15 minutes. Enough time to make a cup of coffee. Dual Core Intel with 4 GB of RAM and 256MB dedicated to video. Compiling would probably take about 2 - 3 minutes for me at work and 5 seconds at home.
  2. In Topic: Winforms project with sql server, where to put (clr) stored procedure?

    Posted 17 Apr 2015

    Hello,

    A simple way to incorporate your queries is through the Entity Framework (EF). I had to call stored procedures in my current project and EF makes it quite easy. Check out this short tutorial on how to do so.
    Stored Procedure in Entity Framework
    Note that EF automatically protects you against SQL injection.

    You could also do it via the SqlCommand. Instead of passing the query into the SqlCommand you would pass the procedure's name and set the command type to StoredProcedure.
    Here's an example
    Call stored procedure with parameters using SqlCommand

    To avoid SQL injection use Parameters. For example.
    using (var command = new SqlCommand("INSERT INTO Table VALUES(@name, @number)")) {
        command.Parameters.AddWithValue("@name", NameTextBox.Text); // it's safe to pull the text directly from the UI or Object
        command.Parameters.AddWithValue("@number", someObject.Number);
    
        // code to execute your query
    }
    
    
  3. In Topic: (WPF)(MVVM) How should I work with the DataModels?

    Posted 29 Jan 2015

    @Skydiver Ah ha. That makes a lot of sense. Actually is the easier way of doing things as well since entity's datamodels get pretty complex. Thanks! :bigsmile:
  4. In Topic: [WPF] Exploring MVVM (Model View ViewModel) II

    Posted 27 Oct 2014

    Very good tutorial and explanation of the design. The ICommand interface is something I plan to implement as I do some refactoring. The entire layout of the example is very good. Kudos to you.
  5. In Topic: C# ONVIF example on how to make IP camera viewer with motion detection

    Posted 22 Oct 2014

    Interesting tutorial. I currently have a few cameras around my house and you've just opened up my appetite. I have a question though. Is it possible to reduce the motion detection's sensitivity? I won't want a tree triggering the motion detection and raising a lot of false positives. Good work by the way.

My Information

Member Title:
Changed Man With Different Priorities
Age:
24 years old
Birthday:
February 13, 1991
Gender:
Location:
Antigua
Interests:
Programming,
My girlfriend,
Staying fit,
Football (Soccer),
Gaming,
Cricket
Years Programming:
8
Programming Languages:
Advanced:
WPF,
PHP,
C,
C++,
Javascript,
Java,
HTML/CSS,
C#,
MS SQL


Beginner:
Python

Contact Information

E-mail:
Private
Website URL:
Website URL  http://codeprada.com
Twitter:
codeprada
Xfire:
codeprada

Comments

Page 1 of 1
  1. Photo

    jesicalbaby Icon

    16 Sep 2013 - 14:40
    Hello
    My name is Miss jesical,
    i saw your profile today
    and,i fill more interest to contact you ,
    i will like you to please send me
    an email via (jesicalduncan22@yahoo.com)
    for me to send you my picture
    jesicalduncan22@yahoo.com
  2. Photo

    defiance Icon

    22 Feb 2012 - 14:47
    codeprada when you have time please read your priv mail :)
  3. Photo

    Jstall Icon

    31 Jan 2012 - 06:12
    Congrats on the promotion! Very very well deserved dude.
  4. Photo

    smohd Icon

    31 Jan 2012 - 03:59
    Welcome to the club! Now its my time to welcome you :)
  5. Photo

    smohd Icon

    30 Oct 2011 - 12:52
    Thanks mate, Looks cool... I missed my experts club ;)
    But you seem to be busy these days.
  6. Photo

    RudiVisser Icon

    05 Sep 2011 - 04:32
    Thanks :)
  7. Photo

    RudiVisser Icon

    05 Aug 2011 - 10:11
    Thanking you - Once I've finished off the 2x CMS Tutorials + got time to spend on more daily articles I think it will be even better! Just can't keep updating my signature with every single one :D
  8. Photo

    smohd Icon

    03 Jul 2011 - 09:37
    Thanks
  9. Photo

    smohd Icon

    20 Jun 2011 - 14:43
    I see it now, nice work :)
  10. Photo

    smohd Icon

    20 Jun 2011 - 11:49
    Hi, but everytime I see you online helping, why they remove it from you? Did they mention any reason? or just system error?
  11. Photo

    smohd Icon

    20 Jun 2011 - 11:17
    Hey, what happens to expert badge?
  12. Photo

    codeprada Icon

    16 Jun 2011 - 03:36
    Thanks, so the link's been doing it's job :)
  13. Photo

    Ace26 Icon

    16 Jun 2011 - 01:53
    Hey there, howdy? I like one of your signature links that says hell is real. Are you a believer in Jesus Christ as your Lord and personal saviour?
    If yes then I'd say keep up the good work and stay strong in the faith, my brother in the Lord.
    Nice to meet a fellow christian geek.
  14. Photo

    Vip3rousmango Icon

    13 Apr 2011 - 12:12
    Thanks for the rep! :)
Page 1 of 1