public static NsConnection LogTo(this NsConnection connection, Action <string> logger) { Validate.NotNull(connection, nameof(connection)); Validate.NotNull(logger, nameof(logger)); connection.Log = logger; return(connection); }
internal NsDatabase(NsConnection connection, string name) { Connection = connection; Name = name; }