BlipFace.WebServices.StatServices.NotifyUseBlipFace C# (CSharp) 메소드

NotifyUseBlipFace() 공개 메소드

public NotifyUseBlipFace ( string guid, string version ) : void
guid string
version string
리턴 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();
            }
        }