Base solution for your next web application
Open Closed

Data table key problem #216


User avatar
0
liaofeng created

I set Tasks table primary key : char(32) , Write this code : _taskAppService.CreateTask(new CreateTaskInput { AssignedPersonId=Guid.NewGuid().ToString().Replace("-",""),Description="任务"+DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") });

Exceptions such as an attachment


2 Answer(s)
  • User Avatar
    0
    liaofeng created

    CreateTaskInput as shown below

  • User Avatar
    0
    liaofeng created

    sorry ! nowly, I see.