Process.Start(...)
public static class HelloClass
{
public static void Main(string[] args)
{
}
}
void Init()
{
listener = new Socket(loopback.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
listener.Bind(localEndPoint);
listener.Listen(10);
listener.BeginAccept(OnBeginAsyncCallback, this);
}
private void OnBeginAsyncCallback(IAsyncResult asyncResult)
{
var clientSocket = listener.EndAccept(asyncResult);
listener.BeginAccept(OnBeginAsyncCallback, this);
// ...
}
migrationBuilder.UpdateData(
table: "RiskLevels ",
keyColumn: "OrganizationControlId",
keyValue: 0,
column: "OrganizationControlId",
value: <сюда валидное значение ключа >);