MightyOrm / Mighty

A new, small, dynamic micro-ORM. Highly compatible with Massive, but with many essential new features.
BSD 3-Clause "New" or "Revised" License
101 stars 20 forks source link

Need help with code #40

Closed kulwantshimla closed 3 years ago

kulwantshimla commented 3 years ago

I am a newbee to C#. I have been using Web Matrix but now I am trying dot net Core Blazor where webmatrix is not supported. Luckily I have found Mighty but I need some help with some errors marked in the jpg below.

image

mikebeaton commented 3 years ago

When creating support issues - here or anywhere else - please do not post code as images. E.g. if I want to try out what you've entered, I have to re-type it myself, or OCR it, neither or which are at all convenient. Post code as text (preferably using GitHub markdown code formatting commands).

But:

kulwantshimla commented 3 years ago

Thank You Sir!

In future I shall make sure to post code in text only.

I really appreciate your response.

Thank You!

On Wed, Aug 11, 2021 at 2:27 PM Mike Beaton @.***> wrote:

When creating support issues - here or anywhere else - please do not post code as images. E.g. if I want to try out what you've entered, I have to re-type it myself, or OCR it, neither or which are at all convenient. Post code as text (preferably using GitHub markdown code formatting commands).

But:

  • You do not need to use static to use Mighty.
  • I think you want db.All("ID < @0", args: 5);
  • And db.All(new { Title = "ABC TEST" });

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MightyOrm/Mighty/issues/40#issuecomment-896636645, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSVH3C2EK6IZMNABYNU7HLT4I3PJANCNFSM5B3XIHEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .