BlipFace.WebServices.StatServices.NotifyUseBlipFace C# (CSharp) Method

NotifyUseBlipFace() public method

public NotifyUseBlipFace ( string guid, string version ) : void
guid string
version string
return void
        public void NotifyUseBlipFace(string guid, string version)
        {
            using (DataClassesDataContext db = new DataClassesDataContext())
            {
                CountUse countUse = new CountUse();
                countUse.DateUse = DateTime.Now;
                countUse.UserGuid = guid;
                countUse.Version = version;

                db.CountUses.InsertOnSubmit(countUse);
                db.SubmitChanges();
            }
        }