daysleeper
daysleeper
CC#
Created by daysleeper on 11/26/2023 in #help
Generic access to DbContext implementation
@๐—  ๐—• ๐—” ๐—ฅ ๐—ž @Jimmacle thanks guys ill search up some more then
12 replies
CC#
Created by daysleeper on 11/26/2023 in #help
Generic access to DbContext implementation
i see
12 replies
CC#
Created by daysleeper on 11/26/2023 in #help
Generic access to DbContext implementation
if yes can you send me any links
12 replies
CC#
Created by daysleeper on 11/26/2023 in #help
Generic access to DbContext implementation
you mean the generic dbsets that i can access?
12 replies
CC#
Created by daysleeper on 11/26/2023 in #help
Generic access to DbContext implementation
I couldn't fit the code and working with images is hard, so sorry in advance
12 replies
CC#
Created by ฮœฮฑฯ„ฮนใŠŽโ‘กโ‘ฆโ“ชโ‘จ on 7/1/2023 in #help
โ” How do I can use my class objects in UnitTest project?
take the User class outside of Program class
4 replies
CC#
Created by GIGA BRAIN on 6/21/2023 in #help
โ” Null warning from accessing weather results from an API call
no here it throws an exception not a warning
174 replies
CC#
Created by GIGA BRAIN on 6/21/2023 in #help
โ” Null warning from accessing weather results from an API call
authorize
174 replies
CC#
Created by GIGA BRAIN on 6/21/2023 in #help
โ” Null warning from accessing weather results from an API call
assuming that codewise nothing is crashing or not working correctly
174 replies
CC#
Created by GIGA BRAIN on 6/21/2023 in #help
โ” Null warning from accessing weather results from an API call
null warnings usually just say that if you put null into the field it will throw exception so you can put a null reference checker (either ?? or if statement) and it should do
174 replies
CC#
Created by Reaushambeaux on 6/20/2023 in #help
โœ… Abstraction Final Project
start by reading about properties in c# and relations (one-to-many, one-to-one, etc)
5 replies
CC#
Created by Saltys_Salty on 6/20/2023 in #help
โœ… Member '<member name>' cannot be accessed with an instance reference
i dont really get what your palindromeCheck() is supposed to do but to resolve your issues: first off you cant declare "void int" there can only be one return type - either void or int. your Main() method is the part that executes in C#, so you need to invoke your method inside it. then you mustnt create an instance of Program. you need to make methods static (you only did it to Reverse method) and you will be able to to do what you want. there are probably some more issues which i cant think of right now but you can say which errors you get afterwards
5 replies
CC#
Created by LazyGuard on 6/19/2023 in #help
โœ… How to parse this weird API ?
read about reflection first and when you understand how it works you will get this done trust me
122 replies
CC#
Created by LazyGuard on 6/19/2023 in #help
โœ… How to parse this weird API ?
you can first validate fields by searching for them and then invoke a method like UpdateFields() where invoke property.SetValue(). i think its pretty easy if you research a bit about reflection
122 replies
CC#
Created by LazyGuard on 6/19/2023 in #help
โœ… How to parse this weird API ?
i understand that. reflection can help you access metadata like
var type = typeof(Model);
var properties = type.GetProperties();
foreach(var property in properties)
{
var propertyName = property.Name; (that's where you can compare them or something)
// do something
}
var type = typeof(Model);
var properties = type.GetProperties();
foreach(var property in properties)
{
var propertyName = property.Name; (that's where you can compare them or something)
// do something
}
122 replies
CC#
Created by LazyGuard on 6/19/2023 in #help
โœ… How to parse this weird API ?
122 replies
CC#
Created by Pixel-ink on 6/18/2023 in #help
โ” [RESOLVED] Find all Occurrences in All Files in Folder Issue
occurence is a string
110 replies
CC#
Created by Pixel-ink on 6/18/2023 in #help
โ” [RESOLVED] Find all Occurrences in All Files in Folder Issue
use Where instead of FirstOrDefault
110 replies
CC#
Created by Pixel-ink on 6/18/2023 in #help
โ” [RESOLVED] Find all Occurrences in All Files in Folder Issue
no i meant the extension method Where()
110 replies
CC#
Created by Pixel-ink on 6/18/2023 in #help
โ” [RESOLVED] Find all Occurrences in All Files in Folder Issue
Where()?
110 replies