コード例 #1
0
        public Employee CreateEmployee(string atomiumAccount, string name, string firstName, string email)
        {
            var table  = GetTable(EmployeesTable);
            var entity = new EmployeeEntity
            {
                AtomiumAccount = atomiumAccount,
                Name           = name,
                FirstName      = firstName,
                Email          = email
            };

            var operation = TableOperation.Insert(entity);

            table.Execute(operation);

            return(entity.ToDomain());
        }