hmm yea - if my family and friends were like some of the people I have had to work with, I would only see them digitally and maybe not all if I had any say in it.
Buckrogerz
hmm yea - if my family and friends were like some of the people I have had to work with, I would only see them digitally and maybe not all if I had any say in it.
Buckrogerz
So not sure if this is what your looking for but I used the System.Linq.Expressions namespace to build a dynamic link query to be executed against EF. here is an incomplete sample for syntax example:
propertyToUse = workingProperty.Substring(0, workingProperty.IndexOf('.'));
Type propertyToUseType = GetEntityType(propertyToUse, incomingParentType);
ParameterExpression propertyToUseParameterExpression = Expression.Parameter(propertyToUseType, propertyToUse.Substring(0,1));
Expression parentExpression = Expression.Property(workingExpression, propertyToUse);
if (parentExpression.Type.IsGenericType &&
typeof(IEnumerable<>)
.MakeGenericType(parentExpression.Type.GetGenericArguments())
.IsAssignableFrom(parentExpression.Type))
{
Expression childExpression = BuildPropertyExpression(propertyToUseParameterExpression,
workingProperty, comparisonOperation, compareValue);
Type func = typeof(Func<,>);
Type genericFunc = func.MakeGenericType(propertyToUseType, typeof(bool));
LambdaExpression predicate =
Expression.Lambda(genericFunc, childExpression, propertyToUseParameterExpression);
//we have call the AsQueryable on the collection since we don't have the compiler working for us and we need to use the any method
MethodInfo asQueryableMethod = typeof(Queryable).GetMethods()
.Where(m => m.Name == "AsQueryable")
.Single(m => m.IsGenericMethod)
.MakeGenericMethod(propertyToUseType);
Expression asQueryableExpression = Expression.Call(null, asQueryableMethod, parentExpression);
//call the any method with the lambda expression we set up
MethodInfo anyMethod = typeof(Queryable).GetMethods()
.Where(m => m.Name == "Any")
.Single(m => m.GetParameters().Length == 2)
.MakeGenericMethod(propertyToUseType);
returnValue = Expression.Call(
null,
anyMethod,
asQueryableExpression, //the source
predicate); // the lambda expression
}
There are other fa
WTF is right Nugets that are in Azure are not working for me at the moment
Buckrogerz
yea running VS 2019 on Win 7 with no issues
Buckrogerz
The responses are very funny unfortunately someone might take this seriously so we need to let identity stay in the political area of our society and not let it enter our profession. Such a sad state but it is what it is for now BTW I would prefer a Dorkal :D
Buckrogerz
I have been doing development for 20+ years and I have seen people or all sorts. The first question you really need to ask yourself before you go any further is "Do you want to be a professional student?". We are not developers we are students! I am also in the US so the atmosphere here may not be the same as in the UK (so there is the gain of salt). I would recommend at least a two degree. This is only to get by the people who think you have to have a degree to program. To that end do you have a partner that can support your family while you do your education full time. I worked full time while I got mine and it would have a lot easier if I had not. After you learn one language the others become easier and easier to learn. It is the fundamentals of CS and the soft skills that are important. I hope this 2 cents helps
Buckrogerz
DuckDuckGo[^] FTW
Buckrogerz
While I like your answer better! 1000/8= 125 so 8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+ 8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+ 8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+ 8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+ 8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8+8
Buckrogerz
Have you not learned anything yet Joshua! The only winning move is not to play
Buckrogerz
I find it interesting that all the talk is on the UI changes. Nothing about how MS is trying to make the OS a service and the collection of our data. Yes you can talk about Facebook and Google and how they already do it. That does not make it right. I personally do not use Facebook it escapes me why I would want to put my dirty laundry out for all to see. Google I do use but limited I sure do not use Gmail and I sure will not do any banking on a Google OS.
Buckrogerz