Click here to Skip to main content
15,867,915 members
Home / Discussions / C#
   

C#

 
AnswerRe: Dynamically change int from a string Pin
Dave Kreskowiak29-Dec-21 12:36
mveDave Kreskowiak29-Dec-21 12:36 
AnswerRe: Dynamically change int from a string Pin
OriginalGriff29-Dec-21 21:53
mveOriginalGriff29-Dec-21 21:53 
QuestionC# Entity Framework : how to generate custom automatic numbers Pin
Fidele Okito27-Dec-21 4:50
Fidele Okito27-Dec-21 4:50 
AnswerRe: C# Entity Framework : how to generate custom automatic numbers Pin
Gerry Schmitz27-Dec-21 5:16
mveGerry Schmitz27-Dec-21 5:16 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Fidele Okito27-Dec-21 5:32
Fidele Okito27-Dec-21 5:32 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Gerry Schmitz27-Dec-21 6:45
mveGerry Schmitz27-Dec-21 6:45 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Fidele Okito27-Dec-21 7:55
Fidele Okito27-Dec-21 7:55 
AnswerRe: C# Entity Framework : how to generate custom automatic numbers Pin
#realJSOP28-Dec-21 0:24
mve#realJSOP28-Dec-21 0:24 
You could use a datetime field's number of seconds as the "automatic number". Even in a moderately busy system, that would pretty much always be unique. When coupled with a row ID in a clustered primary key, duplicates will not be allowed, so Bob's your uncle.

EDIT ================================

If you're going to down-vote my answer, tell me why.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013


modified 29-Dec-21 6:01am.

AnswerRe: C# Entity Framework : how to generate custom automatic numbers Pin
jschell29-Dec-21 7:17
jschell29-Dec-21 7:17 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Gerry Schmitz29-Dec-21 15:22
mveGerry Schmitz29-Dec-21 15:22 
JokeRe: C# Entity Framework : how to generate custom automatic numbers Pin
Peter_in_278029-Dec-21 15:32
professionalPeter_in_278029-Dec-21 15:32 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Gerry Schmitz29-Dec-21 15:54
mveGerry Schmitz29-Dec-21 15:54 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
jschell30-Dec-21 7:31
jschell30-Dec-21 7:31 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Gerry Schmitz30-Dec-21 9:23
mveGerry Schmitz30-Dec-21 9:23 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
jschell23-Jan-22 7:01
jschell23-Jan-22 7:01 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Fidele Okito30-Dec-21 3:14
Fidele Okito30-Dec-21 3:14 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
jschell30-Dec-21 7:26
jschell30-Dec-21 7:26 
GeneralRe: C# Entity Framework : how to generate custom automatic numbers Pin
Fidele Okito30-Dec-21 8:57
Fidele Okito30-Dec-21 8:57 
QuestionFull path Crystal report on client server in c# Pin
remiki26-Dec-21 22:54
remiki26-Dec-21 22:54 
AnswerRe: Full path Crystal report on client server in c# Pin
OriginalGriff26-Dec-21 23:22
mveOriginalGriff26-Dec-21 23:22 
AnswerRe: Full path Crystal report on client server in c# Pin
remiki26-Dec-21 23:30
remiki26-Dec-21 23:30 
GeneralRe: Full path Crystal report on client server in c# Pin
jschell29-Dec-21 7:25
jschell29-Dec-21 7:25 
QuestionWPF Filtering DataGrid causes UI Freeze Pin
Member 1480965126-Dec-21 4:25
Member 1480965126-Dec-21 4:25 
AnswerRe: WPF Filtering DataGrid causes UI Freeze Pin
Gerry Schmitz26-Dec-21 6:54
mveGerry Schmitz26-Dec-21 6:54 
AnswerRe: WPF Filtering DataGrid causes UI Freeze Pin
Mycroft Holmes26-Dec-21 11:41
professionalMycroft Holmes26-Dec-21 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.