public Guid Create(Nullable <System.Guid> userId, string name, Nullable <double> price, string description) { var productId = Guid.NewGuid(); int re = (int)db.pb_Product_Create( productId, userId, name, price, description, bn_HumanCode.GetCode()).Single(); if (re >= 0) { return(productId); } else { return(Guid.Empty); } }