BUG不怕,只要开源
1、无主键表序列化时会自动将所有非空列均设为主键列
Creating table-- Creating table 't_b_Camera' [dbo].[t_b_Camera] ( [f_CameraId] (1,1) , [f_CameraName] (255) , [f_CameraIP] (255) , [f_CameraPort] , [f_CameraChannel] , [f_Enabled] , [f_CameraUser] (255) , [f_CameraPassword] (255) , [f_Type] , [f_Notes] () );
Creating primary key-- Creating primary key on [f_CameraId], [f_CameraName], [f_CameraIP], [f_CameraPort], [f_CameraChannel], [f_Enabled], [f_Type] in table 't_b_Camera' [dbo].[t_b_Camera] [PK_t_b_Camera] ([f_CameraId], [f_CameraName], [f_CameraIP], [f_CameraPort], [f_CameraChannel], [f_Enabled], [f_Type] );