hi,
I'm testing the creation of a lobby and chat channel from a custom code. (cute chat trial version)
I tried executing this:
Chat_Lobby lobby=new Chat_Lobby();
Chat_Channel channel=new Chat_Channel();
And the second line caused the error:
Cannot insert the value NULL into column 'Name', table 'SamplePortal.dbo.Chat_Lobby';
column does not allow nulls. INSERT fails.
How do i do this right?
*** update ***
I found how to create a new lobby and channel from code:
( using CuteSoft.Chat )
Chat_Lobby lobby = new Chat_Lobby();
lobby.Name = "myLobby1";
Chat_Channel channel = new Chat_Channel();
ChatWebUtility.Api.CreateLobby(ref lobby,ref channel);