Hey there.
I'm searching for a way to auto increment a "Weight" field in my database table using linq to sql.For example if in my database I already have 5 rows with the weights 4,2,7,5,2 , on my new insert in the database the weight should automatically set to 8, because 7 is the largest weight in the set of rows and the next largest one is 8. Please help me, i could not find one single solution for this.
Thanks for the time.